Class 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

public abstract class AbstractRuntimeException extends RuntimeException
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 Details

    • AbstractRuntimeException

      public AbstractRuntimeException(String message)
      Construct an AbstractRuntimeException with the specified detail message.
      Parameters:
      message - the detail message (which is saved for later retrieval by the getMessage() method).
    • AbstractRuntimeException

      public AbstractRuntimeException(String message, Throwable cause)
      Construct an AbstractRuntimeException with the specified detail message and nested exception.
      Parameters:
      message - the detail message (which is saved for later retrieval by the getMessage() method).
      cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.).
  • Method Details

    • getMessage

      public String getMessage()
      Returns the detail message, including the message from the nested exception if there is one.
      Overrides:
      getMessage in class Throwable
      Returns:
      the detail message of this Throwable instance (which may be null), including the message from the nested exception if there is one.
    • getRootCause

      public Throwable getRootCause()
      Retrieve the innermost cause of this exception, if any.
      Returns:
      the innermost exception, or null if none.