public class BaseException extends RuntimeException
| Constructor and Description |
|---|
BaseException() |
BaseException(String message) |
BaseException(String message,
Throwable cause) |
BaseException(String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace) |
BaseException(Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
String |
assembleDetailString() |
protected String |
assembleExplicitMessageAddon() |
String |
assembleOutputString() |
String |
getMessage()
Due to bad class design in the JDK's
Throwable, this getter-named methods actually serves as
the output string assembly method.For the actual message getter, see message() (which is a preferable name, anyway).For the actually executed logic, see assembleOutputString(), which is called by this method. |
String |
message() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic BaseException()
public BaseException(Throwable cause)
public BaseException(String message)
public final String message()
public String assembleDetailString()
protected String assembleExplicitMessageAddon()
public String assembleOutputString()
public String getMessage()
Throwable, this getter-named methods actually serves as
the output string assembly method.message() (which is a preferable name, anyway).assembleOutputString(), which is called by this method.getMessage in class ThrowableCopyright © 2022 MicroStream Software. All rights reserved.