public class RemoteExceptionDescription extends Object implements Serializable
Constructor and Description |
---|
RemoteExceptionDescription(List<String> descriptions)
Initialize a RemoteExceptionDescription with given
descriptions describing the exception chain on the
remote end of communication |
RemoteExceptionDescription(List<String> descriptions,
boolean persistent)
Initialize a RemoteExceptionDescription with given
descriptions describing the exception
chain on the remote end of communication. |
Modifier and Type | Method and Description |
---|---|
static RemoteExceptionDescription |
describing(Throwable exception)
|
boolean |
equals(Object obj) |
List<String> |
getDescriptions()
|
int |
hashCode() |
boolean |
isPersistent()
Returns whether the exception is considered persistent or not.
|
String |
toString() |
public RemoteExceptionDescription(List<String> descriptions)
descriptions
describing the exception chain on the
remote end of communication@ConstructorProperties(value="descriptions, persistent") public RemoteExceptionDescription(List<String> descriptions, boolean persistent)
descriptions
describing the exception
chain on the remote end of communication. The persistent
indicator defines whether the exception is
considered persistent or transient.public static RemoteExceptionDescription describing(Throwable exception)
public boolean isPersistent()
Copyright © 2010–2024. All rights reserved.