Class RandomAccessEndOfDataException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- de.bernd_michaely.common.io.random.RandomAccessDataException
-
- de.bernd_michaely.common.io.random.RandomAccessEndOfDataException
-
- All Implemented Interfaces:
Serializable
public class RandomAccessEndOfDataException extends RandomAccessDataException
Specialized RandomAccessDataException type to indicate an error when trying to read beyond the end of a data source. In the case of a file based implementation for example this is an encapsulation of anEOFException
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RandomAccessEndOfDataException()
Creates a new default instance ofRandomAccessEndOfDataException
.RandomAccessEndOfDataException(String message)
Constructs an instance ofRandomAccessEndOfDataException
with the specified detail message.RandomAccessEndOfDataException(String message, Throwable cause)
Constructs an instance ofRandomAccessEndOfDataException
with the specified detail message and cause.RandomAccessEndOfDataException(Throwable cause)
Constructs an instance ofRandomAccessEndOfDataException
with the specified cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
RandomAccessEndOfDataException
public RandomAccessEndOfDataException()
Creates a new default instance ofRandomAccessEndOfDataException
.
-
RandomAccessEndOfDataException
public RandomAccessEndOfDataException(String message)
Constructs an instance ofRandomAccessEndOfDataException
with the specified detail message.- Parameters:
message
- the detail message
-
RandomAccessEndOfDataException
public RandomAccessEndOfDataException(Throwable cause)
Constructs an instance ofRandomAccessEndOfDataException
with the specified cause.- Parameters:
cause
- the cause
-
-