Package ca.cgjennings.io
Class InvalidFileFormatException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- ca.cgjennings.io.InvalidFileFormatException
-
- All Implemented Interfaces:
java.io.Serializable
public class InvalidFileFormatException extends java.io.IOException
An I/O exception that is thrown by classes that process files in a specific format when that format specification is violated. The message may contain more information about the specific cause. The thrower may optionally mark the location of the problem using along
value. If present, this will become part of the message by appending a space and the text "[offset: n]". (If the message isnull
, then this text will be used as the message.)- Since:
- 3.0
- Author:
- Chris Jennings
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidFileFormatException()
InvalidFileFormatException(long offset)
InvalidFileFormatException(java.lang.String message)
InvalidFileFormatException(java.lang.String message, long offset)
InvalidFileFormatException(java.lang.String message, java.lang.Throwable cause)
InvalidFileFormatException(java.lang.String message, java.lang.Throwable cause, long offset)
InvalidFileFormatException(java.lang.Throwable cause)
InvalidFileFormatException(java.lang.Throwable cause, long offset)
-
-
-
Constructor Detail
-
InvalidFileFormatException
public InvalidFileFormatException(java.lang.Throwable cause, long offset)
-
InvalidFileFormatException
public InvalidFileFormatException(java.lang.String message, java.lang.Throwable cause, long offset)
-
InvalidFileFormatException
public InvalidFileFormatException(java.lang.String message, long offset)
-
InvalidFileFormatException
public InvalidFileFormatException(long offset)
-
InvalidFileFormatException
public InvalidFileFormatException(java.lang.Throwable cause)
-
InvalidFileFormatException
public InvalidFileFormatException(java.lang.String message, java.lang.Throwable cause)
-
InvalidFileFormatException
public InvalidFileFormatException(java.lang.String message)
-
InvalidFileFormatException
public InvalidFileFormatException()
-
-