Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Nested Class Summary
`static class` | `IllegalFormatException.Type` Enum listing format types.

Constructor Summary
`IllegalFormatException(java.lang.String key, java.lang.String value, IllegalFormatException.Type types)` Creates a new instance.
`IllegalFormatException(java.lang.String line, java.lang.String key, java.lang.String value, IllegalFormatException.Type type)` 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

### 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.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006 - 2007 Andrew Pietsch