de.danet.an.workflow.spis.aii
Class CannotExecuteException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.danet.an.workflow.spis.aii.CannotExecuteException
- All Implemented Interfaces:
- java.io.Serializable
- public class CannotExecuteException
- extends java.lang.Exception
- implements java.io.Serializable
This exception is thrown by a ToolAgent
if it cannot execute a given activity.
As of version 1.3.2, this exception can be used as a wrapper for
an exception that caused the tool failure. The wrapped exception can be
mapped to a process level exception. See
ExceptionMappingProvider
and
the user manual for details.
- See Also:
- Serialized Form
Fields inherited from class java.lang.Exception |
|
Constructor Summary |
CannotExecuteException(java.lang.String msg)
Creates a new exception with the given message. |
CannotExecuteException(java.lang.String msg,
java.lang.Throwable cause)
Creates a new exception with the given message and cause. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CannotExecuteException
public CannotExecuteException(java.lang.String msg)
- Creates a new exception with the given message.
- Parameters:
msg
- the detail message.
CannotExecuteException
public CannotExecuteException(java.lang.String msg,
java.lang.Throwable cause)
- Creates a new exception with the given message and cause.
- Parameters:
msg
- the detail messagecause
- the cause