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:
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
Root of the hierarchy of all runtime exceptions within the SAS Life Science Analytics Framework Java API. Provides a
way of wrapping checked
Exceptions 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:
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractRuntimeException(String message) Construct anAbstractRuntimeExceptionwith the specified detail message.AbstractRuntimeException(String message, Throwable cause) Construct anAbstractRuntimeExceptionwith the specified detail message and nested exception. -
Method Summary
Modifier and TypeMethodDescriptionReturns the detail message, including the message from the nested exception if there is one.Retrieve the innermost cause of this exception, if any.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AbstractRuntimeException
Construct anAbstractRuntimeExceptionwith the specified detail message.- Parameters:
message- the detail message (which is saved for later retrieval by thegetMessage()method).
-
AbstractRuntimeException
Construct anAbstractRuntimeExceptionwith 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). (Anullvalue is permitted, and indicates that the cause is nonexistent or unknown.).
-
-
Method Details
-
getMessage
Returns the detail message, including the message from the nested exception if there is one.- Overrides:
getMessagein classThrowable- Returns:
- the detail message of this
Throwableinstance (which may benull), including the message from the nested exception if there is one.
-
getRootCause
Retrieve the innermost cause of this exception, if any.- Returns:
- the innermost exception, or
nullif none.
-