Package de.gebit.integrity.operations
Class UnexecutableException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- de.gebit.integrity.operations.UnexecutableException
-
- All Implemented Interfaces:
java.io.Serializable
public class UnexecutableException extends java.lang.Exception
This exception is thrown if an operation cannot be executed (usually because it depends on variables or constants which are not resolvable, but could also be the case because of other runtime failures).- Author:
- Rene Schneider - initial API and implementation
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnexecutableException(Operation anOperation)
Instantiates a new unexecutable exception.UnexecutableException(Operation anOperation, java.lang.String aMessage)
Instantiates a new unexecutable exception.UnexecutableException(Operation anOperation, java.lang.String aMessage, java.lang.Throwable aCause)
Instantiates a new unexecutable exception.UnexecutableException(Operation anOperation, java.lang.Throwable aCause)
Instantiates a new unexecutable exception.UnexecutableException(java.lang.String aMessage)
Instantiates a new unexecutable exception.UnexecutableException(java.lang.String aMessage, java.lang.Throwable aCause)
Instantiates a new unexecutable exception.UnexecutableException(java.lang.Throwable aCause)
Instantiates a new unexecutable exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMessage()
java.lang.String
getOperationLocation()
Returns a string detailing the location of the problematic operation in the test scripts.void
setOperation(Operation anOperation)
-
-
-
Constructor Detail
-
UnexecutableException
public UnexecutableException(Operation anOperation)
Instantiates a new unexecutable exception.
-
UnexecutableException
public UnexecutableException(Operation anOperation, java.lang.String aMessage, java.lang.Throwable aCause)
Instantiates a new unexecutable exception.- Parameters:
aMessage
- the a messageaCause
- the a cause
-
UnexecutableException
public UnexecutableException(java.lang.String aMessage, java.lang.Throwable aCause)
Instantiates a new unexecutable exception.- Parameters:
aMessage
- the a messageaCause
- the a cause
-
UnexecutableException
public UnexecutableException(java.lang.String aMessage)
Instantiates a new unexecutable exception.- Parameters:
aMessage
- the a message
-
UnexecutableException
public UnexecutableException(Operation anOperation, java.lang.String aMessage)
Instantiates a new unexecutable exception.- Parameters:
aMessage
- the a message
-
UnexecutableException
public UnexecutableException(Operation anOperation, java.lang.Throwable aCause)
Instantiates a new unexecutable exception.- Parameters:
aCause
- the a cause
-
UnexecutableException
public UnexecutableException(java.lang.Throwable aCause)
Instantiates a new unexecutable exception.- Parameters:
aCause
- the a cause
-
-
Method Detail
-
setOperation
public void setOperation(Operation anOperation)
-
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in classjava.lang.Throwable
-
getOperationLocation
public java.lang.String getOperationLocation()
Returns a string detailing the location of the problematic operation in the test scripts. Is a null value if no location information was determinable.- Returns:
- a string or null
-
-