public class G9BaseException extends RuntimeException
| Constructor and Description |
|---|
G9BaseException()
(missing javadoc)
|
G9BaseException(Message errMsg)
Constructor with an existing Message.
|
G9BaseException(String message) |
G9BaseException(String message,
Throwable cause) |
G9BaseException(Throwable cause) |
G9BaseException(Throwable cause,
Message errMsg)
Constructor with an existing Message and a wrapped exception.
|
| Modifier and Type | Method and Description |
|---|---|
Message |
getErrMsg()
Returns the current error message.
|
static Throwable |
hasNested(Throwable cause)
Check if a given exception is of the same type as this class (including
subclasses)
|
void |
setErrMsg(Message errMsg)
Store a Message.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic G9BaseException(Throwable cause)
cause - (missing javadoc)public G9BaseException(String message, Throwable cause)
message - (missing javadoc)cause - (missing javadoc)public G9BaseException(String message)
message - (missing javadoc)public G9BaseException()
public G9BaseException(Message errMsg)
errMsg - Messagepublic final void setErrMsg(Message errMsg)
errMsg - New value of errMsg.getErrMsg()public final Message getErrMsg()
setErrMsg(Message)public static Throwable hasNested(Throwable cause)
cause - The exception to checknull if no nested exception is compatible, with this
class, otherwise the outermost such exception in the chainCopyright © 2006–2017 Esito AS. All rights reserved.