com.sas.hls.common.exception
Class AbstractCheckedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.sas.hls.common.exception.AbstractCheckedException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AclUpdateException, AnalysisExistsException, AnalysisNotFoundException, AnalysisRenameException, AnalysisStateException, AuditEntrySearchException, AuthenticationException, GroupException, JobExecutionException, JobExistsException, JobFormatException, JobNotFoundException, JobSubmissionNotFoundException, JobVersionNotFoundException, MembershipException, ObjectNotFoundException, OrganizationNotFoundException, PrivilegeException, ProjectExistsException, ProjectNotFoundException, ProjectRenameException, ProjectStateException, RecycleBinItemDeleteException, RecycleBinItemNotFoundException, RecycleBinItemSearchException, RepositoryJobCreateException, ResourceException, RoleException, ScheduleException, ScheduleNotFoundException, SigningException, SubscriptionExistsException, TypeNotFoundException, TypeNotFoundException, UserException, WorkItemException

public abstract class AbstractCheckedException
extends Exception

Parent class of all checked exceptions created in the java API.

See Also:
Serialized Form

Constructor Summary
AbstractCheckedException(String message)
          Construct an AbstractCheckedException with the specified detail message.
AbstractCheckedException(String message, Throwable cause)
          Construct an AbstractCheckedException 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.
 
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

AbstractCheckedException

public AbstractCheckedException(String message)
Construct an AbstractCheckedException with the specified detail message.

Parameters:
message - the detail message

AbstractCheckedException

public AbstractCheckedException(String message,
                                Throwable cause)
Construct an AbstractCheckedException with the specified detail message and nested exception.

Parameters:
message - the detail message
cause - the nested exception
Method Detail

getLocalizedMessage

public String getLocalizedMessage()
Overrides:
getLocalizedMessage in class Throwable

getMessage

public String getMessage()
Return the detail message, including the message from the nested exception if there is one.

Overrides:
getMessage in class Throwable

getRootCause

public Throwable getRootCause()
Retrieve the innermost cause of this exception, if any.

Returns:
the innermost exception, or null if none


Copyright (c) 2016, SAS Institute Inc., Cary, NC, USA