public class GenericException extends RuntimeException
| Modifier and Type | Class and Description |
|---|---|
static class |
GenericException.GenericExceptionInfo
create generic exception info
|
| Constructor and Description |
|---|
GenericException() |
GenericException(String exceptionClass,
String exceptionMessage) |
GenericException(Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
String |
getExceptionClass() |
String |
getExceptionMessage() |
String |
getGenericException() |
String |
getLocalizedMessage() |
String |
getMessage() |
StackTraceElement[] |
getStackTrace() |
void |
setExceptionClass(String exceptionClass) |
void |
setExceptionMessage(String exceptionMessage) |
void |
setGenericException(String json) |
addSuppressed, fillInStackTrace, getCause, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic GenericException()
public GenericException(Throwable cause)
public String getExceptionClass()
public void setExceptionClass(String exceptionClass)
public String getExceptionMessage()
public void setExceptionMessage(String exceptionMessage)
public StackTraceElement[] getStackTrace()
getStackTrace in class Throwablepublic String getMessage()
getMessage in class Throwablepublic String getGenericException()
public void setGenericException(String json)
public String getLocalizedMessage()
getLocalizedMessage in class ThrowableCopyright © 2011–2022 The Apache Software Foundation. All rights reserved.