com.pietschy.command.configuration
Class IllegalFormatException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.pietschy.command.configuration.ParseException
com.pietschy.command.configuration.IllegalFormatException
- All Implemented Interfaces:
- java.io.Serializable
public class IllegalFormatException
- extends ParseException
Thrown when an error occurs parsing a configuration item.
- See Also:
- Serialized Form
| 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 |
IllegalFormatException
public IllegalFormatException(java.lang.String key,
java.lang.String value,
IllegalFormatException.Type types)
- Creates a new instance.
- Parameters:
key - the property key.value - the property value.types - the expected format.
IllegalFormatException
public IllegalFormatException(java.lang.String line,
java.lang.String key,
java.lang.String value,
IllegalFormatException.Type type)
- Creates a new instance.
- Parameters:
line - the full text of the line in the configuraiton file in error.key - the property key.value - the property value.type - the expected format.
Copyright © 2006 - 2007 Andrew Pietsch