public class RemoteCallException
extends java.lang.RuntimeException
Modifier and Type | Field and Description |
---|---|
static int |
UNDEFINED_STATUS_CODE |
Constructor and Description |
---|
RemoteCallException(java.lang.Exception cause,
java.lang.String message,
java.lang.Object... args) |
RemoteCallException(java.lang.String message,
java.lang.Object... args) |
Modifier and Type | Method and Description |
---|---|
static RemoteCallException |
create(java.lang.Exception cause,
java.lang.String message,
java.lang.Object... args) |
static RemoteCallException |
create(int statusCode,
java.lang.String message,
java.lang.Object... args) |
static RemoteCallException |
create(java.lang.String message,
java.lang.Object... args) |
<T> T |
get(java.lang.String key)
Returns the additional object that might have been registered under the given key
or null if not found.
|
java.util.Map<java.lang.String,java.lang.Object> |
getData() |
int |
getStatusCode() |
RemoteCallException |
put(java.lang.String key,
java.lang.Object value)
Register an arbitrary object under the given key.
|
RemoteCallException |
setStatusCode(int statusCode) |
java.lang.String |
toString() |
public static final int UNDEFINED_STATUS_CODE
public RemoteCallException(java.lang.String message, java.lang.Object... args)
public RemoteCallException(java.lang.Exception cause, java.lang.String message, java.lang.Object... args)
public static RemoteCallException create(java.lang.String message, java.lang.Object... args)
public static RemoteCallException create(java.lang.Exception cause, java.lang.String message, java.lang.Object... args)
public static RemoteCallException create(int statusCode, java.lang.String message, java.lang.Object... args)
public <T> T get(java.lang.String key)
public RemoteCallException put(java.lang.String key, java.lang.Object value)
public java.util.Map<java.lang.String,java.lang.Object> getData()
public int getStatusCode()
public RemoteCallException setStatusCode(int statusCode)
public java.lang.String toString()
toString
in class java.lang.Throwable