Package com.sas.lsaf.core
Class AbstractRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.sas.lsaf.core.AbstractRuntimeException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
AccessDeniedException
,AclRuntimeException
,ConfigurationException
,CopyToWorkspaceException
,DataAccessException
,GroupContextNotFoundException
,HttpConnectException
,HttpException
,IllegalChildTypeException
,IllegalPathException
,IllegalTypeException
,InvalidTypeException
,LogoffException
,LogonException
,MembershipContextNotFoundException
,QueryLimitException
,RepositoryRuntimeException
,RoleContextNotFoundException
,SessionUnsupportedFeatureException
,SharedWorkspaceNotFoundException
,StudyStandardReferencedException
,SystemException
,ValidationException
,WorkspacePathNotFoundException
public abstract class AbstractRuntimeException extends java.lang.RuntimeException
Root of the hierarchy of all runtime exceptions within the SAS Life Science Analytics Framework Java API. Provides a way of wrapping checkedExceptions
with a root cause.Abstract because this exception should not be constructed directly, rather, a more detailed subclass should be constructed and thrown.
- Since:
- 1.1
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractRuntimeException(java.lang.String message)
Construct anAbstractRuntimeException
with the specified detail message.AbstractRuntimeException(java.lang.String message, java.lang.Throwable cause)
Construct anAbstractRuntimeException
with the specified detail message and nested exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMessage()
Returns the detail message, including the message from the nested exception if there is one.java.lang.Throwable
getRootCause()
Retrieve the innermost cause of this exception, if any.
-
-
-
Constructor Detail
-
AbstractRuntimeException
public AbstractRuntimeException(java.lang.String message)
Construct anAbstractRuntimeException
with the specified detail message.- Parameters:
message
- the detail message (which is saved for later retrieval by thegetMessage()
method).
-
AbstractRuntimeException
public AbstractRuntimeException(java.lang.String message, java.lang.Throwable cause)
Construct anAbstractRuntimeException
with the specified detail message and nested exception.- Parameters:
message
- the detail message (which is saved for later retrieval by thegetMessage()
method).cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method). (Anull
value is permitted, and indicates that the cause is nonexistent or unknown.).
-
-
Method Detail
-
getMessage
public java.lang.String getMessage()
Returns the detail message, including the message from the nested exception if there is one.- Overrides:
getMessage
in classjava.lang.Throwable
- Returns:
- the detail message of this
Throwable
instance (which may benull
), including the message from the nested exception if there is one.
-
getRootCause
public java.lang.Throwable getRootCause()
Retrieve the innermost cause of this exception, if any.- Returns:
- the innermost exception, or
null
if none.
-
-