org.springframework.webflow.engine.builder
Class FlowArtifactLookupException

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.engine.builder.FlowArtifactLookupException
All Implemented Interfaces:
java.io.Serializable

public class FlowArtifactLookupException
extends FlowException

A flow artifact lookup exception is thrown when an artifact (such as a flow, state, action, etc.) required by the webflow system cannot be obtained.

Flow artifact lookup exceptions indicate unrecoverable problems with the flow definition, e.g. a required action of a flow cannot be found. They're not used to signal problems related to execution of a client request. A FlowExecutionException is used for that.

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

Constructor Summary
FlowArtifactLookupException(java.lang.String artifactId, java.lang.Class artifactType)
          Create a new flow artifact lookup exception.
FlowArtifactLookupException(java.lang.String artifactId, java.lang.Class artifactType, java.lang.String message)
          Create a new flow artifact lookup exception.
FlowArtifactLookupException(java.lang.String artifactId, java.lang.Class artifactType, java.lang.String message, java.lang.Throwable cause)
          Create a new flow artifact lookup exception.
FlowArtifactLookupException(java.lang.String artifactId, java.lang.Class artifactType, java.lang.Throwable cause)
          Create a new flow artifact lookup exception.
 
Method Summary
 java.lang.String getArtifactId()
          Returns the id of the artifact that cannot be found.
 java.lang.Class getArtifactType()
          Returns the expected artifact type.
 
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

FlowArtifactLookupException

public FlowArtifactLookupException(java.lang.String artifactId,
                                   java.lang.Class artifactType)
Create a new flow artifact lookup exception.

Parameters:
artifactId - the id of the artifact
artifactType - the expected artifact type

FlowArtifactLookupException

public FlowArtifactLookupException(java.lang.String artifactId,
                                   java.lang.Class artifactType,
                                   java.lang.Throwable cause)
Create a new flow artifact lookup exception.

Parameters:
artifactId - the id of the artifact
artifactType - the expected artifact type
cause - the underlying cause of this exception

FlowArtifactLookupException

public FlowArtifactLookupException(java.lang.String artifactId,
                                   java.lang.Class artifactType,
                                   java.lang.String message)
Create a new flow artifact lookup exception.

Parameters:
artifactId - the id of the artifact
artifactType - the expected artifact type
message - descriptive message

FlowArtifactLookupException

public FlowArtifactLookupException(java.lang.String artifactId,
                                   java.lang.Class artifactType,
                                   java.lang.String message,
                                   java.lang.Throwable cause)
Create a new flow artifact lookup exception.

Parameters:
artifactId - the id of the artifact
artifactType - the expected artifact type
message - descriptive message
cause - the underlying cause of this exception
Method Detail

getArtifactId

public java.lang.String getArtifactId()
Returns the id of the artifact that cannot be found.


getArtifactType

public java.lang.Class getArtifactType()
Returns the expected artifact type.



Copyright © 2004-2007. All Rights Reserved.