Package rasj

Class RasConnectionFailedException

  • All Implemented Interfaces:
    java.io.Serializable

    public class RasConnectionFailedException
    extends ODMGRuntimeException
    
     PURPOSE:
     This exception is raised when the connection to the RasDaMan server fails. This typically happens
     when the RasDaMan server is either not running or unable to connect to the base DBMS. Also
     communication failures between RasManager and RasServer may produce this kind of exception.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      RasConnectionFailedException​(int errNo, java.lang.String parameter)
      Default constructor taking the rasdaman error number and an optional parameter.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getErrorNo()
      Returns the RasDaMan error number
      java.lang.String getMessage()
      Returns 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
    • Constructor Detail

      • RasConnectionFailedException

        public RasConnectionFailedException​(int errNo,
                                            java.lang.String parameter)
        Default constructor taking the rasdaman error number and an optional parameter.
        Parameters:
        errNo - the rasdaman error number
        parameter - optional parameter that can be inserted into the error message
    • Method Detail

      • getErrorNo

        public int getErrorNo()
        Returns the RasDaMan error number
      • getMessage

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