public class ServerSideException extends java.lang.RuntimeException implements java.io.Serializable, java.io.Externalizable, SecureExternalizable
Modifier and Type | Class and Description |
---|---|
static class |
ServerSideException.Cause
Helper class that serves as a simple wrapper for the cause-chain,
so we can build the stacktrace up again on the remote end without
having to transmit everything from head to toe.
|
Constructor and Description |
---|
ServerSideException() |
ServerSideException(java.lang.String s) |
ServerSideException(java.lang.String s,
java.lang.Throwable _cause) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage() |
ServerSideException.Cause |
getRootCauseIfOfType(java.lang.Class clazz) |
static ServerSideException.Cause |
getRootCauseIfOfType(java.lang.Object obj,
java.lang.Class clazz) |
void |
readExternal(java.io.ObjectInput s) |
void |
readInstance(SecureObjectInputI s)
Reads an instance of this class from the given SecureObjectInputI without using readObject.
|
void |
writeExternal(java.io.ObjectOutput s) |
void |
writeInstance(SecureObjectOutputI s)
Writes an instance of this class to the given SecureObjectOutputI without using writeObject.
|
public ServerSideException()
public ServerSideException(java.lang.String s)
public ServerSideException(java.lang.String s, java.lang.Throwable _cause)
public static ServerSideException.Cause getRootCauseIfOfType(java.lang.Object obj, java.lang.Class clazz)
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public void readInstance(SecureObjectInputI s) throws java.io.IOException
SecureExternalizable
readInstance
in interface SecureExternalizable
java.io.IOException
public void writeInstance(SecureObjectOutputI s) throws java.io.IOException
SecureExternalizable
writeInstance
in interface SecureExternalizable
java.io.IOException
public void readExternal(java.io.ObjectInput s) throws java.io.IOException
readExternal
in interface java.io.Externalizable
java.io.IOException
public void writeExternal(java.io.ObjectOutput s) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public ServerSideException.Cause getRootCauseIfOfType(java.lang.Class clazz)
Copyright © 2000-2024 OAshi S.à r.l. All Rights Reserved.