| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final StackTraceElement[] | |
| private final String | |
| private static final ClassValue | |
| private final Map | |
| private static final RemoteExceptionCause[] | |
| private static final String[] | |
| private static final long | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private transient String |
| Access | Constructor and Description |
|---|---|
| pack-priv | RemoteExceptionCause(final String msg, final RemoteExceptionCause cause, final String exceptionClassName, final Map<String, String> fields, boolean cloneFields)
|
| public | RemoteExceptionCause(final String
the message msg, final String the name of the exception's class (must not be exceptionClassName)null)Constructs a new |
| public | RemoteExceptionCause(final String
the message msg, final RemoteExceptionCause the cause cause, final String the name of the exception's class (must not be exceptionClassName)null)Constructs a new |
| public | |
| public | RemoteExceptionCause(final String
the message msg, final RemoteExceptionCause the cause cause, final String the name of the exception's class (must not be exceptionClassName, final Map<String, String> null)the public fields of the remote exception (must not be fields)null)Constructs a new |
| Modifier and Type | Method and Description |
|---|---|
| public RemoteExceptionCause | getCause()
Overrides java. null if the
cause is nonexistent or unknown.
|
| public String | Returns: the original exception class name (notnull)Get the original exception class name. |
| public Set | Returns: the field names of the remote exceptionGet the field names of the remote exception. |
| public String | Returns: the string value of the given field namethe name of the field (must not be fieldName)null)Get the string value of the given field name. |
| public static RemoteExceptionCause | |
| private static RemoteExceptionCause | |
| public static RemoteExceptionCause | |
| private static <T> T | |
| private static int | |
| public Throwable | Returns: the throwable (notnull)Convert this remote exception cause to a plain throwable for sending to peers which use serialization and do not have this class present. |
| public String | Returns: the string representation of the exceptionOverrides java. |
| private int | writeFields(final DataOutput output, final Map<String, String> fields, final IdentityIntMap<Object> seen, final HashMap<String, String> stringCache, int cnt)
|
| private static void | |
| pack-priv Object | |
| private int | writeStackElement(final DataOutput output, final StackTraceElement element, final IdentityIntMap<Object> seen, final HashMap<String, String> stringCache, int cnt)
|
| private int | writeStackTrace(final DataOutput output, final StackTraceElement[] stackTrace, final IdentityIntMap<Object> seen, final HashMap<String, String> stringCache, int cnt)
|
| private int | writeString(final DataOutput output, String string, final IdentityIntMap<Object> seen, final HashMap<String, String> stringCache, final int cnt)
|
| private int | writeThrowable(final DataOutput output, final Throwable throwable, final IdentityIntMap<Object> seen, final HashMap<String, String> stringCache, final int cnt)
|
| public void | writeToStream(DataOutput
the output stream (must not be output)null)Write this remote exception cause to the given stream, without using serialization. |
| private int | writeToStream(DataOutput output, IdentityIntMap<Object> seen, HashMap<String, String> stringCache, int cnt)
|
| EMPTY_STACK | back to summary |
|---|---|
| private static final StackTraceElement[] EMPTY_STACK | |
| exceptionClassName | back to summary |
|---|---|
| private final String exceptionClassName | |
| fieldGetterValue | back to summary |
|---|---|
| private static final ClassValue<Function<Throwable, Map<String, String>>> fieldGetterValue | |
| fields | back to summary |
|---|---|
| private final Map<String, String> fields | |
| NO_REMOTE_EXCEPTION_CAUSES | back to summary |
|---|---|
| private static final RemoteExceptionCause[] NO_REMOTE_EXCEPTION_CAUSES | |
| NO_STRINGS | back to summary |
|---|---|
| private static final String[] NO_STRINGS | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| ST_BACKREF_FAR | back to summary |
|---|---|
| private static final int ST_BACKREF_FAR | |
| ST_BACKREF_NEAR | back to summary |
|---|---|
| private static final int ST_BACKREF_NEAR | |
| ST_INT16 | back to summary |
|---|---|
| private static final int ST_INT16 | |
| ST_INT32 | back to summary |
|---|---|
| private static final int ST_INT32 | |
| ST_INT8 | back to summary |
|---|---|
| private static final int ST_INT8 | |
| ST_INT_MINI | back to summary |
|---|---|
| private static final int ST_INT_MINI | |
| ST_NEW_EXCEPTION_CAUSE | back to summary |
|---|---|
| private static final int ST_NEW_EXCEPTION_CAUSE | |
| ST_NEW_STACK_ELEMENT_V8 | back to summary |
|---|---|
| private static final int ST_NEW_STACK_ELEMENT_V8 | |
| ST_NEW_STACK_ELEMENT_V9 | back to summary |
|---|---|
| private static final int ST_NEW_STACK_ELEMENT_V9 | |
| ST_NEW_STRING | back to summary |
|---|---|
| private static final int ST_NEW_STRING | |
| ST_NULL | back to summary |
|---|---|
| private static final int ST_NULL | |
| toString | back to summary |
|---|---|
| private transient String toString | |
| RemoteExceptionCause | back to summary |
|---|---|
| pack-priv RemoteExceptionCause(final String msg, final RemoteExceptionCause cause, final String exceptionClassName, final Map<String, String> fields, boolean cloneFields) | |
| RemoteExceptionCause | back to summary |
|---|---|
| public RemoteExceptionCause(final String msg, final String exceptionClassName) Constructs a new | |
| RemoteExceptionCause | back to summary |
|---|---|
| public RemoteExceptionCause(final String msg, final RemoteExceptionCause cause, final String exceptionClassName) Constructs a new
| |
| RemoteExceptionCause | back to summary |
|---|---|
| public RemoteExceptionCause(final String msg, final String exceptionClassName, final Map<String, String> fields) Constructs a new | |
| RemoteExceptionCause | back to summary |
|---|---|
| public RemoteExceptionCause(final String msg, final RemoteExceptionCause cause, final String exceptionClassName, final Map<String, String> fields) Constructs a new | |
| getCause | back to summary |
|---|---|
| public RemoteExceptionCause getCause() Overrides java. Doc from java. Returns the cause of this throwable or This implementation returns the cause that was supplied via one of
the constructors requiring a
| |
| getExceptionClassName | back to summary |
|---|---|
| public String getExceptionClassName() Get the original exception class name.
| |
| getFieldNames | back to summary |
|---|---|
| public Set Get the field names of the remote exception. | |
| getFieldValue | back to summary |
|---|---|
| public String getFieldValue(String fieldName) Get the string value of the given field name. | |
| of | back to summary |
|---|---|
| public static RemoteExceptionCause of(Throwable t) Get a remote exception cause for the given
| |
| of | back to summary |
|---|---|
| private static RemoteExceptionCause of(Throwable t, IdentityHashMap<Throwable, RemoteExceptionCause> seen) | |
| readFromStream | back to summary |
|---|---|
| public static RemoteExceptionCause readFromStream(DataInput input) throws IOException | |
| readObject | back to summary |
|---|---|
| private static <T> T readObject(DataInput input, Class<T> expect, ArrayList<Object> cache, final boolean allowNull) throws IOException | |
| readPackedInt | back to summary |
|---|---|
| private static int readPackedInt(DataInput is) throws IOException | |
| toPlainThrowable | back to summary |
|---|---|
| public Throwable toPlainThrowable() Convert this remote exception cause to a plain throwable for sending to peers which use serialization and do not have this class present. Note that this does not recursively apply; normally, a serialization framework will handle the recursive application of this operation through object resolution.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Get a string representation of this exception. The representation will return an indication of the fact that this was a remote exception, the remote exception type, and optionally details of the exception content, followed by the exception message.
| |
| writeFields | back to summary |
|---|---|
| private int writeFields(final DataOutput output, final Map<String, String> fields, final IdentityIntMap<Object> seen, final HashMap<String, String> stringCache, int cnt) throws IOException | |
| writePackedInt | back to summary |
|---|---|
| private static void writePackedInt(DataOutput os, int val) throws IOException | |
| writeReplace | back to summary |
|---|---|
| pack-priv Object writeReplace() | |
| writeStackElement | back to summary |
|---|---|
| private int writeStackElement(final DataOutput output, final StackTraceElement element, final IdentityIntMap<Object> seen, final HashMap<String, String> stringCache, int cnt) throws IOException | |
| writeStackTrace | back to summary |
|---|---|
| private int writeStackTrace(final DataOutput output, final StackTraceElement[] stackTrace, final IdentityIntMap<Object> seen, final HashMap<String, String> stringCache, int cnt) throws IOException | |
| writeString | back to summary |
|---|---|
| private int writeString(final DataOutput output, String string, final IdentityIntMap<Object> seen, final HashMap<String, String> stringCache, final int cnt) throws IOException | |
| writeThrowable | back to summary |
|---|---|
| private int writeThrowable(final DataOutput output, final Throwable throwable, final IdentityIntMap<Object> seen, final HashMap<String, String> stringCache, final int cnt) throws IOException | |
| writeToStream | back to summary |
|---|---|
| public void writeToStream(DataOutput output) throws IOException Write this remote exception cause to the given stream, without using serialization.
| |
| writeToStream | back to summary |
|---|---|
| private int writeToStream(DataOutput output, IdentityIntMap<Object> seen, HashMap<String, String> stringCache, int cnt) throws IOException | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final RemoteExceptionCause | |
| pack-priv final String | |
| pack-priv final String[] | |
| pack-priv final String | |
| pack-priv final RemoteExceptionCause[] | |
| private static final long | |
| pack-priv final StackTraceElement[] |
| Access | Constructor and Description |
|---|---|
| pack-priv | Serialized(final String m, final String cn, final RemoteExceptionCause c, final RemoteExceptionCause[] s, final StackTraceElement[] st, final String[] f)
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv Object |
| c | back to summary |
|---|---|
| pack-priv final RemoteExceptionCause c | |
| cn | back to summary |
|---|---|
| pack-priv final String cn | |
| f | back to summary |
|---|---|
| pack-priv final String[] f | |
| m | back to summary |
|---|---|
| pack-priv final String m | |
| s | back to summary |
|---|---|
| pack-priv final RemoteExceptionCause[] s | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| st | back to summary |
|---|---|
| pack-priv final StackTraceElement[] st | |
| Serialized | back to summary |
|---|---|
| pack-priv Serialized(final String m, final String cn, final RemoteExceptionCause c, final RemoteExceptionCause[] s, final StackTraceElement[] st, final String[] f) | |
| readResolve | back to summary |
|---|---|
| pack-priv Object readResolve() | |