org.apache.tapestry5.ioc.util
Class UnknownValueException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.tapestry5.ioc.internal.util.TapestryException
                  extended by org.apache.tapestry5.ioc.util.UnknownValueException
All Implemented Interfaces:
Serializable, Locatable

public class UnknownValueException
extends TapestryException

Special exception used when a value (typically from a map) is referenced that does not exist. Uses a AvailableValues object to track what the known values are.

Since:
5.2.0
See Also:
Serialized Form

Constructor Summary
UnknownValueException(String message, AvailableValues availableValues)
           
UnknownValueException(String message, Object location, Throwable cause, AvailableValues availableValues)
           
 
Method Summary
 AvailableValues getAvailableValues()
           
 
Methods inherited from class org.apache.tapestry5.ioc.internal.util.TapestryException
getLocation, 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
 

Constructor Detail

UnknownValueException

public UnknownValueException(String message,
                             AvailableValues availableValues)

UnknownValueException

public UnknownValueException(String message,
                             Object location,
                             Throwable cause,
                             AvailableValues availableValues)
Method Detail

getAvailableValues

public AvailableValues getAvailableValues()


Copyright © 2003-2012 The Apache Software Foundation.