Package rasj

Class RasConnectionFailedException

All Implemented Interfaces:
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:
  • Constructor Details

    • RasConnectionFailedException

      public RasConnectionFailedException(int errNo, 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 Details

    • getErrorNo

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

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