Package io.pravega.client.segment.impl
Class EndOfSegmentException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- io.pravega.client.segment.impl.EndOfSegmentException
-
- All Implemented Interfaces:
java.io.Serializable
public class EndOfSegmentException extends java.io.IOExceptionA segment has ended. No more events may be read from it. This exception is thrown when SegmentInputStream reaches - end of aSegment- configured end offset of aSegment.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEndOfSegmentException.ErrorType
-
Constructor Summary
Constructors Constructor Description EndOfSegmentException()EndOfSegmentException(EndOfSegmentException.ErrorType cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EndOfSegmentException.ErrorTypegetErrorType()
-
-
-
Constructor Detail
-
EndOfSegmentException
public EndOfSegmentException()
-
EndOfSegmentException
public EndOfSegmentException(EndOfSegmentException.ErrorType cause)
-
-
Method Detail
-
getErrorType
public EndOfSegmentException.ErrorType getErrorType()
-
-