public abstract class BaseException
extends java.lang.Exception
Constructor and Description |
---|
BaseException()
The default constructor.
|
BaseException(java.lang.String message)
Constructs the
Exception object with the specified message. |
BaseException(java.lang.String message,
java.lang.Throwable cause)
Constructs the
Exception object with the specified message and cause parameters. |
BaseException(java.lang.Throwable cause)
Constructs the
Exception object with the specified cause. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getXml()
Returns an XML representation of the exception.
|
abstract int |
ordinal()
Returns the ID of the exception.
|
public BaseException()
public BaseException(java.lang.String message, java.lang.Throwable cause)
Exception
object with the specified message and cause parameters.message
- The message string containing more information about the exception.cause
- The Exception
class containing a snapshot of the execution stack of
its thread at the time it was created.public BaseException(java.lang.String message)
Exception
object with the specified message.
param message
The message string containing more information about the exception.public BaseException(java.lang.Throwable cause)
Exception
object with the specified cause.cause
- The Exception
class containing a snapshot of the execution stack of
its thread at the time it was created.