|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception org.apache.commons.workflow.WorkflowException org.apache.commons.workflow.StepException
public class StepException
A StepException is used to report problems encountered
during the dynamic execution of a specific Step
.
Field Summary | |
---|---|
protected Step |
step
The Step that was being executed when the problem occurred. |
Fields inherited from class org.apache.commons.workflow.WorkflowException |
---|
cause |
Constructor Summary | |
---|---|
StepException()
Construct an empty StepException. |
|
StepException(Step step)
Construct an empty StepException occurring with the specified Step. |
|
StepException(String message)
Construct a StepException with the specified message. |
|
StepException(String message,
Step step)
Construct a StepException with the specified message occurring with the specified Step. |
|
StepException(String message,
Throwable cause)
Construct a StepException with the specified message and underlying cause. |
|
StepException(String message,
Throwable cause,
Step step)
Construct a StepException with the specified message and underlying cause, occurring in the specified Step. |
|
StepException(Throwable cause)
Construct a StepException with the specified underlying cause. |
|
StepException(Throwable cause,
Step step)
Construct a StepException with the specified underlying cause, occurring in the specified Step. |
Method Summary | |
---|---|
Step |
getStep()
|
String |
toString()
Render a printable version of this exception. |
Methods inherited from class org.apache.commons.workflow.WorkflowException |
---|
getCause |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected Step step
Constructor Detail |
---|
public StepException()
public StepException(Step step)
step
- Step that caused this StepExceptionpublic StepException(String message)
message
- Message associated with this exceptionpublic StepException(String message, Step step)
message
- Message associated with this exceptionstep
- Step that caused this StepExceptionpublic StepException(Throwable cause)
cause
- Underlying root causepublic StepException(Throwable cause, Step step)
cause
- Underlying root causestep
- Step that caused this StepExceptionpublic StepException(String message, Throwable cause)
message
- Message associated with this exceptioncause
- Underlying root causepublic StepException(String message, Throwable cause, Step step)
message
- Message associated with this exceptioncause
- Underlying root causestep
- Step that caused this StepExceptionMethod Detail |
---|
public Step getStep()
public String toString()
toString
in class Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |