Package com.sas.lsaf.core
Class AbstractCheckedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sas.lsaf.core.AbstractCheckedException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AclException,AnalysisResultNotFoundException,AuditSearchException,AuthenticationException,AutoFlowException,AutoFlowSetupException,CheckedOutFilesSearchException,DictionaryException,ExportException,ExternalDictionaryAssociationExistsException,ExternalDictionaryAssociationNotFoundException,GroupException,ImportException,InvalidProcessFlowStateException,InvalidRecipientException,InvalidTaskAssigneeException,InvalidTaskStateException,JobCreateException,JobExistsException,JobFormatException,JobNotFoundException,JobSubmissionException,JobSubmissionNotFoundException,JobUpdateException,MembershipException,ModelException,PrincipalNotFoundException,PrivilegeException,ProcessDefinitionDeploymentException,ProcessDefinitionMappingUpdateException,ProcessDefinitionNotFoundException,ProcessDefinitionStateException,ProcessFlowCopyException,ProcessFlowElementNotFoundException,ProcessFlowElementSetupException,ProcessFlowElementSetupNotFoundException,ProcessFlowException,ProcessFlowExistsException,ProcessFlowManifestCreateException,ProcessFlowNotFoundException,ProcessFlowSearchException,QueryException,RecycleBinItemDeleteException,RecycleBinItemNotFoundException,RecycleBinItemSearchException,RepositoryException,RepositorySearchException,ResourceUtilizationException,ResultsNotFoundException,RoleException,ScheduleException,ScheduleNotFoundException,SectionException,SessionException,SessionSearchException,SharedWorkspaceException,SigningException,StandardAssociationExistsException,StandardAssociationNotFoundException,StandardNotFoundException,StudyCodeListUpdateException,StudyComponentEditException,StudyDictionaryException,StudyNotFoundException,StudySupportingDocumentUpdateException,StudyTableUpdateException,StudyUpdateException,StudyValueLevelMetadataUpdateException,SubscriptionException,TaskSearchException,TlfException,TlfTemplateException,TypeNotFoundException,UserException,ValidationReportException,WorkspaceItemException
Root of the hierarchy of all checked 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
ConstructorsConstructorDescriptionAbstractCheckedException(String message) Construct anAbstractCheckedExceptionwith the specified detail message.AbstractCheckedException(String message, Throwable cause) Construct anAbstractCheckedExceptionwith 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
-
AbstractCheckedException
Construct anAbstractCheckedExceptionwith the specified detail message.- Parameters:
message- the detail message (which is saved for later retrieval by thegetMessage()method).
-
AbstractCheckedException
Construct anAbstractCheckedExceptionwith 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.
-