Package rasj

Class RasRuntimeException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
RasClientInternalException, RasIllegalULongValueException, RasIllegalUShortValueException, RasInvalidNameException, RasTypeNotSupportedException, RasTypeUnknownException

public abstract class RasRuntimeException extends RuntimeException

 PURPOSE:
 This abstract class is the superclass of all runtime exceptions in the rasj package
 except for RasConnectionFailedException.
See Also:
  • Field Details

    • errNo

      protected int errNo
    • errText

      protected String errText
  • Constructor Details

    • RasRuntimeException

      protected RasRuntimeException()
      Standard constructor.
    • RasRuntimeException

      protected RasRuntimeException(int num)
      Constructor getting the error number.
      Parameters:
      num - the RasDaMan error number
    • RasRuntimeException

      protected RasRuntimeException(String msg)
      Constructor getting the error message.
      Parameters:
      msg - the error message
    • RasRuntimeException

      protected RasRuntimeException(int num, String msg)
      Constructor getting error number and error message.
      Parameters:
      num - the RasDaMan error number
      msg - the error message
  • Method Details

    • getErrNo

      public int getErrNo()
      Method for retrieving the error number.
      Returns:
      the error number
    • getMessage

      public String getMessage()
      Method retrieving the error message.
      Overrides:
      getMessage in class Throwable
      Returns:
      the error message