public class GenericException extends BaseException
Constructor and Description |
---|
GenericException()
Constructs an instance of a
GenericException class. |
GenericException(java.lang.String m)
Constructs an instance of a
GenericException class. |
GenericException(java.lang.String m,
java.lang.Throwable t)
Constructs an instance of a
GenericException class. |
GenericException(java.lang.Throwable t)
Constructs an instance of a
GenericException class. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getXml()
Returns the XML representation representing the exception.
|
int |
ordinal()
Returns the id of the exception to facilitate unmarshaling XML representation
back into the Java object.
|
public GenericException()
GenericException
class.public GenericException(java.lang.String m)
GenericException
class.m
- the message string containing more information about the exception.public GenericException(java.lang.Throwable t)
GenericException
class.t
- The Java Throwable
class containing a snapshot of the execution stack
of its thread at the time it was created.public GenericException(java.lang.String m, java.lang.Throwable t)
GenericException
class.m
- the message string containing more information about the exception.t
- The Java Throwable
class containing a snapshot of the execution stack
of its thread at the time it was created.public int ordinal()
ordinal
in class BaseException
int
.public java.lang.String getXml()
getXml
in class BaseException
String
.