org.springframework.webflow.definition.registry
Class NoSuchFlowDefinitionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.core.NestedRuntimeException
                  extended by org.springframework.webflow.core.FlowException
                      extended by org.springframework.webflow.definition.registry.NoSuchFlowDefinitionException
All Implemented Interfaces:
java.io.Serializable

public class NoSuchFlowDefinitionException
extends FlowException

Thrown when no flow definition was found during a lookup operation by a flow locator.

Author:
Keith Donald, Erwin Vervaet
See Also:
Serialized Form

Constructor Summary
NoSuchFlowDefinitionException(java.lang.String flowId, java.lang.String[] availableFlowIds)
          Creates an exception indicating a flow definition could not be found.
 
Method Summary
 java.lang.String getFlowId()
          Returns the id of the flow definition that could not be found.
 
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getCause, getMessage, getMostSpecificCause, getRootCause, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NoSuchFlowDefinitionException

public NoSuchFlowDefinitionException(java.lang.String flowId,
                                     java.lang.String[] availableFlowIds)
Creates an exception indicating a flow definition could not be found.

Parameters:
flowId - the flow id
availableFlowIds - all flow ids available to the locator generating this exception
Method Detail

getFlowId

public java.lang.String getFlowId()
Returns the id of the flow definition that could not be found.



Copyright © 2004-2007. All Rights Reserved.