|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sas.hls.common.exception.AbstractRuntimeException
public abstract class AbstractRuntimeException
Parent class of all Runtime exceptions created in the java API.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AbstractRuntimeException(String message)
AbstractRuntimeException
with the specified detail message.
message
- the detail messagepublic AbstractRuntimeException(String message, Throwable cause)
AbstractRuntimeException
with the specified detail message and nested exception.
message
- the detail messagecause
- the nested exceptionMethod Detail |
---|
public String getLocalizedMessage()
getLocalizedMessage
in class Throwable
public void setLocalizedMessage(String localizedMessage)
localizedMessage
- public String getMessage()
getMessage
in class Throwable
public Throwable getRootCause()
null
if none
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |