Package rasj

Class RasRuntimeException

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected int errNo  
      protected java.lang.String errText  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected RasRuntimeException()
      Standard constructor.
      protected RasRuntimeException​(int num)
      Constructor getting the error number.
      protected RasRuntimeException​(int num, java.lang.String msg)
      Constructor getting error number and error message.
      protected RasRuntimeException​(java.lang.String msg)
      Constructor getting the error message.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getErrNo()
      Method for retrieving the error number.
      java.lang.String getMessage()
      Method retrieving the error message.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • errNo

        protected int errNo
      • errText

        protected java.lang.String errText
    • Constructor Detail

      • RasRuntimeException

        protected RasRuntimeException()
        Standard constructor.
      • RasRuntimeException

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

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

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

      • getErrNo

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

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