public class GenericException extends RuntimeException
| 限定符和类型 | 类和说明 |
|---|---|
static class |
GenericException.GenericExceptionInfo
create generic exception info
|
| 构造器和说明 |
|---|
GenericException() |
GenericException(String exceptionClass,
String exceptionMessage) |
GenericException(Throwable cause) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在类中 Throwablepublic String getMessage()
getMessage 在类中 Throwablepublic String getGenericException()
public void setGenericException(String json)
public String getLocalizedMessage()
getLocalizedMessage 在类中 ThrowableCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.