Package org.geotools.util
Class ContentFormatException
Object
Throwable
Exception
IOException
ContentFormatException
- All Implemented Interfaces:
Serializable
Throws 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
- Author:
- Martin Desruisseaux (IRD)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionContentFormatException
(String message) Constructs a new exception with the specified detail message.ContentFormatException
(String message, Throwable cause) Constructs a new exception with the specified detail message and cause. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ContentFormatException
Constructs a new exception with the specified detail message. The detail message is saved for later retrieval by theThrowable.getMessage()
method. -
ContentFormatException
Constructs a new exception with the specified detail message and cause. The cause is saved for later retrieval by theThrowable.getCause()
method.
-