org.geotoolkit.io
Class ContentFormatException
Object
Throwable
Exception
IOException
ContentFormatException
- All Implemented Interfaces:
- Serializable
public class ContentFormatException
- extends IOException
Thrown when a stream can't be parsed because some content uses an invalid format.
This exception typically has a ParseException has its cause.
It is similar in spirit to InvalidPropertiesFormatException.
- Since:
- 2.2
- Version:
- 3.00
- Author:
- Martin Desruisseaux (IRD)
- See Also:
InvalidPropertiesFormatException,
Serialized Form
- Module:
| Methods inherited from class Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ContentFormatException
public ContentFormatException()
- Constructs a new exception with no detail message.
- Since:
- 3.00
ContentFormatException
public ContentFormatException(String message)
- Constructs a new exception with the specified detail message.
The detail message is saved for later retrieval by the
Throwable.getMessage() method.
- Parameters:
message - The details message.
ContentFormatException
public ContentFormatException(String message,
Throwable cause)
- Constructs a new exception with the specified detail message and cause.
The cause is saved for later retrieval by the
Throwable.getCause() method.
- Parameters:
message - The details message.cause - The cause.
Copyright © 2009-2012 Geotoolkit.org. All Rights Reserved.