public class Exception
extends java.lang.Object
implements java.io.Serializable
Exception
class.Constructor and Description |
---|
Exception() |
Modifier and Type | Method and Description |
---|---|
BaseException |
getException()
Retrieves the exception.
|
java.lang.String |
getMessage()
Returns a message about the exception.
|
int |
getOrdinal()
Returns the ID of the exception.
|
ExceptionType |
getType()
Retrieves the type of exception.
|
void |
setMessage(java.lang.String message)
Sets the exception message.
|
void |
setOrdinal(int ordinal)
Sets the exception's ID.
|
public java.lang.String getMessage()
String
containing the exception message.public void setMessage(java.lang.String message)
message
- The exception message.public int getOrdinal()
int
containing the exception ID.public void setOrdinal(int ordinal)
ordinal
- The exception's ID.public ExceptionType getType()
ExceptionType
public BaseException getException()
ExceptionType