|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.webflow.core.FlowException
org.springframework.webflow.engine.builder.FlowArtifactLookupException
public class FlowArtifactLookupException
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.
FlowExecutionException
,
Serialized FormConstructor 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 |
---|
public FlowArtifactLookupException(java.lang.String artifactId, java.lang.Class artifactType)
artifactId
- the id of the artifactartifactType
- the expected artifact typepublic FlowArtifactLookupException(java.lang.String artifactId, java.lang.Class artifactType, java.lang.Throwable cause)
artifactId
- the id of the artifactartifactType
- the expected artifact typecause
- the underlying cause of this exceptionpublic FlowArtifactLookupException(java.lang.String artifactId, java.lang.Class artifactType, java.lang.String message)
artifactId
- the id of the artifactartifactType
- the expected artifact typemessage
- descriptive messagepublic FlowArtifactLookupException(java.lang.String artifactId, java.lang.Class artifactType, java.lang.String message, java.lang.Throwable cause)
artifactId
- the id of the artifactartifactType
- the expected artifact typemessage
- descriptive messagecause
- the underlying cause of this exceptionMethod Detail |
---|
public java.lang.String getArtifactId()
public java.lang.Class getArtifactType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |