Package rasj

Class RasTypeInvalidException

All Implemented Interfaces:
Serializable

public class RasTypeInvalidException extends RasException

 PURPOSE:
 This exception is thrown if a primitive type is accessed by a method
 having the wrong type.
See Also:
  • Constructor Details

    • RasTypeInvalidException

      protected RasTypeInvalidException(String baseType, 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 type
      accessType - the type of the access method that caused the error
  • Method Details

    • getMessage

      public String getMessage()
      Returns the error message.
      Overrides:
      getMessage in class RasException
      Returns:
      the error message.