Package rasj
Class RasException
java.lang.Object
java.lang.Throwable
java.lang.Exception
rasj.RasException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
RasDimensionMismatchException,RasIndexOutOfBoundsException,RasResultIsNoCellException,RasResultIsNoIntervalException,RasStreamInputOverflowException,RasTypeInvalidException
PURPOSE:
This is the superclass of all exceptions in the rasj package, except for
RasQueryExecutionFailedException.- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedStandard constructor.protectedRasException(int num) Constructor getting the error number.protectedRasException(int num, String msg) Constructor getting error number and error message.protectedRasException(String msg) Constructor 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
-
RasException
protected RasException()Standard constructor. -
RasException
protected RasException(int num) Constructor getting the error number.- Parameters:
num- the RasDaMan error number
-
RasException
Constructor getting the error message.- Parameters:
msg- the error message
-
RasException
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
-