Package org.apache.sis.io
Class InvalidSeekException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.sis.io.InvalidSeekException
- All Implemented Interfaces:
Serializable
Thrown when an input stream or a channel cannot modify its position to the given value.
If may be because the given position is after the end of file, but not necessarily.
This exception may also be thrown by implementations that cache a portion of a file
and can only seek inside that portion.
- Since:
- 0.8
- Version:
- 0.8
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long
For cross-version compatibility. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new exception with no message.InvalidSeekException
(String message) Constructs a new exception with the specified detail message.InvalidSeekException
(String message, Throwable cause) Constructs a new exception with the specified detail message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDFor cross-version compatibility.- See Also:
-
-
Constructor Details
-
InvalidSeekException
public InvalidSeekException()Constructs a new exception with no message. -
InvalidSeekException
Constructs a new exception with the specified detail message.- Parameters:
message
- the detail message, ornull
if none.
-
InvalidSeekException
Constructs a new exception with the specified detail message and cause.- Parameters:
message
- the detail message, ornull
if none.cause
- the cause, ornull
if none.
-