- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.jline.reader.EndOfFileException
-
- All Implemented Interfaces:
Serializable
public class EndOfFileException extends RuntimeException
This exception is thrown byLineReader.readLine()
when user the user types ctrl-D).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EndOfFileException()
EndOfFileException(String message)
EndOfFileException(String message, Throwable cause)
EndOfFileException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
EndOfFileException(Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPartialLine()
EndOfFileException
partialLine(String partialLine)
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
partialLine
public EndOfFileException partialLine(String partialLine)
-
getPartialLine
public String getPartialLine()
-
-