com.pietschy.command.configuration
Class UnknownValueException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.pietschy.command.configuration.ParseException
              extended by com.pietschy.command.configuration.UnknownValueException
All Implemented Interfaces:
java.io.Serializable

public class UnknownValueException
extends ParseException

Thrown for values that are not supported.

See Also:
Serialized Form

Constructor Summary
UnknownValueException(java.lang.String line, java.lang.String key, java.lang.String actualValue, java.util.Set<java.lang.String> allowedValues)
          Creates a new instance.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnknownValueException

public UnknownValueException(java.lang.String line,
                             java.lang.String key,
                             java.lang.String actualValue,
                             java.util.Set<java.lang.String> allowedValues)
Creates a new instance.

Parameters:
line - the full text of the line in error.
key - the property that is in error.
actualValue - the value that was specified.
allowedValues - the list of allowed values.


Copyright © 2006 - 2007 Andrew Pietsch