Package rasj
Class RasRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
rasj.RasRuntimeException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
RasClientInternalException,RasIllegalULongValueException,RasIllegalUShortValueException,RasInvalidNameException,RasTypeNotSupportedException,RasTypeUnknownException
PURPOSE:
This abstract class is the superclass of all runtime exceptions in the rasj package
except for RasConnectionFailedException.- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedStandard constructor.protectedRasRuntimeException(int num) Constructor getting the error number.protectedRasRuntimeException(int num, String msg) Constructor getting error number and error message.protectedConstructor getting the error message. -
Method Summary
Modifier and TypeMethodDescriptionintgetErrNo()Method for retrieving the error number.Method retrieving the error message.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
errNo
protected int errNo -
errText
-
-
Constructor Details
-
RasRuntimeException
protected RasRuntimeException()Standard constructor. -
RasRuntimeException
protected RasRuntimeException(int num) Constructor getting the error number.- Parameters:
num- the RasDaMan error number
-
RasRuntimeException
Constructor getting the error message.- Parameters:
msg- the error message
-
RasRuntimeException
Constructor getting error number and error message.- Parameters:
num- the RasDaMan error numbermsg- the error message
-
-
Method Details
-
getErrNo
public int getErrNo()Method for retrieving the error number.- Returns:
- the error number
-
getMessage
Method retrieving the error message.- Overrides:
getMessagein classThrowable- Returns:
- the error message
-