Package rasj

Class RasException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
RasDimensionMismatchException, RasIndexOutOfBoundsException, RasResultIsNoCellException, RasResultIsNoIntervalException, RasStreamInputOverflowException, RasTypeInvalidException

public class RasException extends Exception

 PURPOSE:
 This is the superclass of all exceptions in the rasj package, except for
 RasQueryExecutionFailedException.
See Also:
  • Field Details

    • errNo

      protected int errNo
    • errText

      protected String errText
  • Constructor Details

    • RasException

      protected RasException()
      Standard constructor.
    • RasException

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

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

      protected RasException(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