@XMLBindable public final class DTOThrowable extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private DTOThrowable |
cause
DTO of Throwable cause.
|
private boolean |
defaultMessage
Value of UESApplicationRTException default message flag.
|
private java.util.List<DTOMessage> |
messages
Inner messages of Throwable.
|
private DTOStackTrace |
stackTrace
Throwable stack trace.
|
private java.lang.String |
throwableClass
Exact class of Throwable.
|
private long |
uuidLsb
The least significant 64 bits of UUID.
|
private long |
uuidMsb
The most significant 64 bits of UUID.
|
| Modifier | Constructor and Description |
|---|---|
|
DTOThrowable()
Creates new instance of DTOThrowable and initializes messages
variable (initialization is needed because web services send
empty list as null causing NullPointerException problems on
client side).
|
private |
DTOThrowable(java.lang.Throwable aThrowable,
Creates new instance of serialized Throwable DTO.
|
| Modifier and Type | Method and Description |
|---|---|
DTOThrowable |
getCause()
Gets DTO of Throwable cause.
|
java.util.List<DTOMessage> |
getMessages()
Gets Throwable message DTOs.
|
DTOStackTrace |
getStackTrace()
Gets stack trace DTO.
|
private java.lang.Throwable |
getSubstituteThrowable()
Returns substitute exception replacing one which
cannot be instantiated.
|
java.lang.Throwable |
getThrowable()
Returns original Throwable restored from this DTO.
|
java.lang.String |
getThrowableClass()
Gets Throwable class.
|
static DTOThrowable |
getThrowableDTO(java.lang.Throwable aThrowable,
Returns DTO of serialized Throwable.
|
long |
getUuidLsb()
Gets least significant 64 bits of UUID.
|
long |
getUuidMsb()
Gets most significant 64 bits of UUID.
|
boolean |
isDefaultMessage()
Gets default message flag.
|
void |
setCause(DTOThrowable aCause)
Sets DTO of Throwable cause.
|
void |
setDefaultMessage(boolean aDefaultMessage)
Sets default message flag.
|
void |
setMessages(java.util.List<DTOMessage> aMessages)
Sets Throwable message DTOs.
|
void |
setStackTrace(DTOStackTrace aStackTrace)
Sets stack trace DTO.
|
void |
setThrowableClass(java.lang.String aThrowableClass)
Sets Throwable class.
|
void |
setUuidLsb(long aUuidLsb)
Sets least significant 64 bits of UUID.
|
void |
setUuidMsb(long aUuidMsb)
Sets most significant 64 bits of UUID.
|
aThrowable - Throwable to be serializedaSerializeStackTrace - Flag of stack trace serializationaThrowableClass - Class of ThrowableaUuidMsb - Most significant 64 bits of UUIDaUuidLsb - Least significant 64 bits of UUIDaMessages - Throwable message DTOsaStackTrace - Stack trace DTOaCause - DTO of Throwable causeaDefaultMessage - Default message flagaThrowable - Throwable to be serializedaSerializeStackTrace - Flag of stack trace serialization