public class InvocationException extends java.lang.Exception implements ISerializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ABBREVIATION
The abbreviation used for this class during serialization.
|
Constructor and Description |
---|
InvocationException()
Constructs an exception with no detailed information.
|
InvocationException(java.lang.String message)
Constructs an exception with the specified message.
|
InvocationException(java.lang.String message,
java.lang.Throwable cause)
Creates an invocation exception with the specified message and cause.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage()
Returns the message.
|
void |
printStackTrace()
Prints the stack trace of the invocation as well
as the cause, if any.
|
void |
readObject(IObjectInput input)
Called to read the invocation.
|
java.lang.String |
toString()
Returns a string representation.
|
void |
writeObject(IObjectOutput output)
Called to write the invocation.
|
public static final java.lang.String ABBREVIATION
public InvocationException()
public InvocationException(java.lang.String message)
message
- A detailed message.public InvocationException(java.lang.String message, java.lang.Throwable cause)
message
- The message of the exception.cause
- The root cause.public void readObject(IObjectInput input) throws java.io.IOException
readObject
in interface ISerializable
input
- The stream to read from.java.io.IOException
- Thrown by the underlying stream.public void writeObject(IObjectOutput output) throws java.io.IOException
writeObject
in interface ISerializable
output
- The output to write to.java.io.IOException
- Thrown by the stream.public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public java.lang.String toString()
toString
in class java.lang.Throwable
public void printStackTrace()
printStackTrace
in class java.lang.Throwable