public abstract class AbstractException extends java.lang.Exception implements java.lang.Cloneable, RepresentableAsXml
Implements an idea of xml-based easily localized exceptions.
Modifier and Type | Class and Description |
---|---|
static class |
AbstractException.Info |
Modifier and Type | Field and Description |
---|---|
static int |
TO_STRING_MODE_FULL_INFO |
static int |
TO_STRING_MODE_FULL_INFO_XML |
static int |
TO_STRING_MODE_ORIGINAL |
static int |
TO_STRING_MODE_STACK_ONLY |
static int |
TO_STRING_MODE_STANDARD |
int |
toStringMode |
Modifier | Constructor and Description |
---|---|
protected |
AbstractException() |
protected |
AbstractException(java.lang.String message) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
AbstractException.Info |
getAdditionalInfo() |
java.lang.String |
getMessage() |
java.lang.String |
getOriginalMessage() |
java.lang.String[] |
getSuperclasses(boolean fullClassNames) |
static java.lang.String[] |
getSuperclasses(java.lang.Throwable e,
boolean fullClassNames) |
void |
setMessage(java.lang.String message) |
java.lang.String |
toString() |
java.lang.String |
toXmlString()
Return XML string describing this object.
|
public int toStringMode
public static final int TO_STRING_MODE_FULL_INFO
public static final int TO_STRING_MODE_FULL_INFO_XML
public static final int TO_STRING_MODE_STACK_ONLY
public static final int TO_STRING_MODE_STANDARD
public static final int TO_STRING_MODE_ORIGINAL
protected AbstractException()
protected AbstractException(java.lang.String message)
public java.lang.Object clone()
clone
in class java.lang.Object
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public void setMessage(java.lang.String message)
public java.lang.String getOriginalMessage()
public java.lang.String toString()
toString
in class java.lang.Throwable
public AbstractException.Info getAdditionalInfo()
public java.lang.String toXmlString()
RepresentableAsXml
toString()
methodtoXmlString
in interface RepresentableAsXml
public static java.lang.String[] getSuperclasses(java.lang.Throwable e, boolean fullClassNames)
public java.lang.String[] getSuperclasses(boolean fullClassNames)