Package rasj
Class RasTypeInvalidException
java.lang.Object
java.lang.Throwable
java.lang.Exception
rasj.RasException
rasj.RasTypeInvalidException
- All Implemented Interfaces:
Serializable
PURPOSE:
This exception is thrown if a primitive type is accessed by a method
having the wrong type.- See Also:
-
Field Summary
Fields inherited from class rasj.RasException
errNo, errText -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRasTypeInvalidException(String baseType, String accessType) Standard constructor getting the type of the base type and the type of the access method that caused the error. -
Method Summary
Methods inherited from class rasj.RasException
getErrNoMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RasTypeInvalidException
Standard constructor getting the type of the base type and the type of the access method that caused the error.- Parameters:
baseType- the type of the base typeaccessType- the type of the access method that caused the error
-
-
Method Details
-
getMessage
Returns the error message.- Overrides:
getMessagein classRasException- Returns:
- the error message.
-