Class CoercionNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.tapestry5.commons.internal.util.TapestryException
org.apache.tapestry5.commons.util.UnknownValueException
org.apache.tapestry5.commons.util.CoercionNotFoundException
- All Implemented Interfaces:
Serializable
,Locatable
Exception used when
TypeCoercer
doesn't find a coercion from a type to another.- Since:
- 5.8.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCoercionNotFoundException
(String message, AvailableValues availableValues, Class<?> sourceType, Class<?> targetType) -
Method Summary
Methods inherited from class org.apache.tapestry5.commons.util.UnknownValueException
getAvailableValues
Methods inherited from class org.apache.tapestry5.commons.internal.util.TapestryException
getLocation, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
CoercionNotFoundException
public CoercionNotFoundException(String message, AvailableValues availableValues, Class<?> sourceType, Class<?> targetType)
-
-
Method Details
-
getSourceType
Returns the source type. -
getTargetType
Returns the target type.
-