Class UnknownValueException
- 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
-
- All Implemented Interfaces:
java.io.Serializable
,Locatable
- Direct Known Subclasses:
CoercionNotFoundException
public class UnknownValueException extends TapestryException
Special exception used when a value (typically from a map) is referenced that does not exist. Uses aAvailableValues
object to track what the known values are.- Since:
- 5.2.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnknownValueException(java.lang.String message, java.lang.Object location, java.lang.Throwable cause, AvailableValues availableValues)
UnknownValueException(java.lang.String message, AvailableValues availableValues)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AvailableValues
getAvailableValues()
-
Methods inherited from class org.apache.tapestry5.commons.internal.util.TapestryException
getLocation, toString
-
-
-
-
Constructor Detail
-
UnknownValueException
public UnknownValueException(java.lang.String message, AvailableValues availableValues)
-
UnknownValueException
public UnknownValueException(java.lang.String message, java.lang.Object location, java.lang.Throwable cause, AvailableValues availableValues)
-
-
Method Detail
-
getAvailableValues
public AvailableValues getAvailableValues()
-
-