Package nz.org.riskscape.engine.types
Class CoercionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
nz.org.riskscape.engine.RiskscapeException
nz.org.riskscape.engine.types.CoercionException
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorDescriptionCoercionException
(Object value, Type type) CoercionException
(Object value, Type type, String reason, Object... args) -
Method Summary
Methods inherited from class nz.org.riskscape.engine.RiskscapeException
getCause, getProblem, hasProblem
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CoercionException
-
CoercionException
-
CoercionException
-
-
Method Details
-
getType
The type that the value failed to be converted in to
-
getValue
The value that failed to be coerced to a type
-