public abstract class AbstractRuntimeException extends RuntimeException
Constructor and Description |
---|
AbstractRuntimeException(String message)
Construct an
AbstractRuntimeException with the specified detail message. |
AbstractRuntimeException(String message,
Throwable cause)
Construct an
AbstractRuntimeException with the specified detail message and nested exception. |
Modifier and Type | Method and Description |
---|---|
String |
getLocalizedMessage() |
String |
getMessage()
Return the detail message, including the message from the nested exception if there is one.
|
Throwable |
getRootCause()
Retrieve the innermost cause of this exception, if any.
|
void |
setLocalizedMessage(String localizedMessage)
Set the localized message value for this exception
|
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AbstractRuntimeException(String message)
AbstractRuntimeException
with the specified detail message.message
- the detail messagepublic String getLocalizedMessage()
getLocalizedMessage
in class Throwable
public void setLocalizedMessage(String localizedMessage)
localizedMessage
- public String getMessage()
getMessage
in class Throwable
public Throwable getRootCause()
null
if noneCopyright (c) 2017, SAS Institute Inc., Cary, NC, USA