de.danet.an.workflow.spis.aii
Class CannotExecuteException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byde.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

Field Summary
 
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
 

Constructor Detail

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 message
cause - the cause