Package rasj
Class RasConnectionFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.odmg.ODMGRuntimeException
rasj.RasConnectionFailedException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionRasConnectionFailedException(int errNo, String parameter) Default constructor taking the rasdaman error number and an optional parameter. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the RasDaMan error numberReturns the error message.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RasConnectionFailedException
Default constructor taking the rasdaman error number and an optional parameter.- Parameters:
errNo- the rasdaman error numberparameter- optional parameter that can be inserted into the error message
-
-
Method Details
-
getErrorNo
public int getErrorNo()Returns the RasDaMan error number -
getMessage
Returns the error message.- Overrides:
getMessagein classThrowable
-