
public final class TraceInformation
extends java.lang.Throwable
| Modifier and Type | Class and Description |
|---|---|
static class |
TraceInformation.ClassInfo
Information about a class which was being (un-)marshalled at the time an exception occurred.
|
static class |
TraceInformation.FieldInfo
Information about a field which was being marshalled at the time an exception occurred.
|
static class |
TraceInformation.IncompleteObjectInfo
Information about an incomplete object being unmarshalled.
|
static class |
TraceInformation.IndexInfo
Information about an index in an array or collection.
|
static class |
TraceInformation.IndexType
The type of index for a multi-valued collection or map.
|
static class |
TraceInformation.Info
Information about the circumstances surrounding (un)marshalling.
|
static class |
TraceInformation.MethodInfo
Information specific to a method execution.
|
static class |
TraceInformation.ObjectInfo
Information about an object which was being (un-)marshalled at the time an exception occurred.
|
static class |
TraceInformation.UserInfo
User information.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
addFieldInformation(java.lang.Throwable t,
java.lang.String fieldName)
Add information about a field which was being marshalled.
|
static void |
addIncompleteObjectInformation(java.lang.Throwable t,
java.lang.Class<?> targetClass)
Add information about an incomplete object which was being unmarshalled.
|
static void |
addIncompleteObjectInformation(java.lang.Throwable t,
java.lang.String targetClassName)
Add information about an incomplete object which was being unmarshalled.
|
static void |
addIndexInformation(java.lang.Throwable t,
int index,
int size,
TraceInformation.IndexType kind)
Add information about an index into a collection which was being (un-)marshalled.
|
static void |
addObjectInformation(java.lang.Throwable t,
java.lang.Object targetObject)
Add information about an object which was being (un-)marshalled.
|
static void |
addUserInformation(java.lang.Throwable t,
java.io.Serializable data)
Add user information about problem with marshalling or unmarshalling.
|
java.lang.Throwable |
fillInStackTrace() |
void |
setStackTrace(java.lang.StackTraceElement[] stackTrace) |
java.lang.String |
toString() |
public java.lang.Throwable fillInStackTrace()
fillInStackTrace in class java.lang.Throwablepublic java.lang.String toString()
toString in class java.lang.Throwablepublic void setStackTrace(java.lang.StackTraceElement[] stackTrace)
setStackTrace in class java.lang.Throwablepublic static void addUserInformation(java.lang.Throwable t,
java.io.Serializable data)
t - the throwable to updatedata - the user datapublic static void addFieldInformation(java.lang.Throwable t,
java.lang.String fieldName)
t - the throwable to updatefieldName - the field name being (un-)marshalledpublic static void addObjectInformation(java.lang.Throwable t,
java.lang.Object targetObject)
t - the throwable to updatetargetObject - the target object which was being (un-)marshalledpublic static void addIncompleteObjectInformation(java.lang.Throwable t,
java.lang.Class<?> targetClass)
t - the throwable to updatetargetClass - the class of the target object being unmarshalledpublic static void addIncompleteObjectInformation(java.lang.Throwable t,
java.lang.String targetClassName)
t - the throwable to updatetargetClassName - the class of the target object being unmarshalledpublic static void addIndexInformation(java.lang.Throwable t,
int index,
int size,
TraceInformation.IndexType kind)
t - the throwable to updateindex - the index of the element in questionsize - the size of the collection in questionkind - the type of element being processedCopyright © 2011 JBoss, a division of Red Hat, Inc.