Object
Throwable
Exception
IOException
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
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs 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 Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
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.
-