Class CannotExecuteException

  extended byjava.lang.Throwable
      extended byjava.lang.Exception
All Implemented Interfaces:

public class CannotExecuteException
extends java.lang.Exception

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.
Method Summary
 java.lang.String toString()
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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

Constructor Detail


public CannotExecuteException(java.lang.String msg)
Creates a new exception with the given message.

msg - the detail message.


public CannotExecuteException(java.lang.String msg,
                              java.lang.Throwable cause)
Creates a new exception with the given message and cause.

msg - the detail message
cause - the cause
Method Detail


public java.lang.String toString()