Package rasj
Class RasTypeInvalidException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- rasj.RasException
-
- rasj.RasTypeInvalidException
-
- All Implemented Interfaces:
java.io.Serializable
public class RasTypeInvalidException extends RasException
PURPOSE: This exception is thrown if a
primitive typeis accessed by a method having the wrong type.- See Also:
RasPrimitiveType, Serialized Form
-
-
Field Summary
-
Fields inherited from class rasj.RasException
errNo, errText
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRasTypeInvalidException(java.lang.String baseType, java.lang.String accessType)Standard constructor getting the type of the base type and the type of the access method that caused the error.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetMessage()Returns the error message.-
Methods inherited from class rasj.RasException
getErrNo
-
-
-
-
Constructor Detail
-
RasTypeInvalidException
protected RasTypeInvalidException(java.lang.String baseType, java.lang.String accessType)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 Detail
-
getMessage
public java.lang.String getMessage()
Returns the error message.- Overrides:
getMessagein classRasException- Returns:
- the error message.
-
-