public abstract class AbstractException extends RuntimeException
| Constructor and Description |
|---|
AbstractException() |
AbstractException(String message) |
AbstractException(String message,
Object... params) |
AbstractException(String message,
Throwable cause) |
AbstractException(Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
getCode() |
String |
getLocalizedMessage() |
String |
getMessage() |
int |
getStatusCode() |
String |
toString() |
void |
translate(Function<String,String> translateFunction) |
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic AbstractException()
public AbstractException(String message)
public AbstractException(Throwable cause)
public abstract String getCode()
public int getStatusCode()
public String getMessage()
getMessage in class Throwablepublic String getLocalizedMessage()
getLocalizedMessage in class ThrowableCopyright © 2019. All rights reserved.