frink.errors
Class UnexpectedTypeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
frink.errors.FrinkException
frink.errors.FrinkConversionException
frink.errors.UnexpectedTypeException
- All Implemented Interfaces:
- java.io.Serializable
public class UnexpectedTypeException
- extends FrinkConversionException
This class represents an exception which is thrown when one of the
getter or setter methods expects a value that can't be converted to that
type.
- Author:
- Alan Eliasen, eliasen@mindspring.com
- See Also:
- Serialized Form
|
Constructor Summary |
UnexpectedTypeException(java.lang.String variable,
frink.numeric.Numeric num,
java.lang.String unit,
frink.numeric.NumericException ne)
Construct an UnexpectedTypeException with the specified math exception |
UnexpectedTypeException(java.lang.String variable,
java.lang.String expected,
frink.expr.Expression actual,
frink.expr.Environment env)
Construct an UnexpectedTypeException with the specified message. |
| Methods inherited from class frink.errors.FrinkException |
toString |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
UnexpectedTypeException
public UnexpectedTypeException(java.lang.String variable,
java.lang.String expected,
frink.expr.Expression actual,
frink.expr.Environment env)
- Construct an UnexpectedTypeException with the specified message.
UnexpectedTypeException
public UnexpectedTypeException(java.lang.String variable,
frink.numeric.Numeric num,
java.lang.String unit,
frink.numeric.NumericException ne)
- Construct an UnexpectedTypeException with the specified math exception