public class ApplicationException extends Exception implements JoynrException
| Modifier and Type | Class and Description |
|---|---|
static class |
ApplicationException.JoynrErrorEnumDeSerializer |
static class |
ApplicationException.JoynrErrorEnumSerializer |
| Modifier | Constructor and Description |
|---|---|
protected |
ApplicationException()
Constructor for deserializer
|
|
ApplicationException(Enum<?> error)
Constructor for an ApplicationException with an error enum.
|
|
ApplicationException(Enum<?> error,
String message)
Constructor for an ApplicationException with an error enum and detail message.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
<T extends Enum<?>> |
getError() |
int |
hashCode() |
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTraceprotected ApplicationException()
public ApplicationException(Enum<?> error)
error - error enum to be reportedpublic <T extends Enum<?>> T getError()
T - the concrete error enum typepublic boolean equals(Object obj)
equals in interface JoynrExceptionequals in class Objectpublic int hashCode()
hashCode in interface JoynrExceptionhashCode in class ObjectCopyright © 2021. All rights reserved.