| |
|
| java.lang.Object java.lang.Throwable java.lang.Exception csheets.core.IllegalValueTypeException
IllegalValueTypeException | public class IllegalValueTypeException extends Exception (Code) | | An exception that is thrown when an illegal value is encountered.
author: Einar Pehrson |
IllegalValueTypeException | public IllegalValueTypeException(Value value, Value.Type expectedValueType)(Code) | | Creates a new illegal value type exception.
Parameters: value - the value Parameters: expectedValueType - the expected type of the value |
getExpectedValueType | public Value.Type getExpectedValueType()(Code) | | Returns the expected type of the value.
the expected type of the value |
getMessage | public String getMessage()(Code) | | Returns a message describing the exception.
a message describing the exception |
getValue | public Value getValue()(Code) | | Returns the value.
the value |
toString | public String toString()(Code) | | Returns a string representation of the exception.
a string representation of the exception |
|
|
|