Package org.jline.reader
Class EndOfFileException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.jline.reader.EndOfFileException
-
- All Implemented Interfaces:
java.io.Serializable
public class EndOfFileException extends java.lang.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(java.lang.String message)
EndOfFileException(java.lang.String message, java.lang.Throwable cause)
EndOfFileException(java.lang.String message, java.lang.Throwable cause, boolean enableSuppression, boolean writableStackTrace)
EndOfFileException(java.lang.Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getPartialLine()
EndOfFileException
partialLine(java.lang.String partialLine)
-
-
-
Constructor Detail
-
EndOfFileException
public EndOfFileException()
-
EndOfFileException
public EndOfFileException(java.lang.String message)
-
EndOfFileException
public EndOfFileException(java.lang.String message, java.lang.Throwable cause)
-
EndOfFileException
public EndOfFileException(java.lang.Throwable cause)
-
EndOfFileException
public EndOfFileException(java.lang.String message, java.lang.Throwable cause, boolean enableSuppression, boolean writableStackTrace)
-
-
Method Detail
-
partialLine
public EndOfFileException partialLine(java.lang.String partialLine)
-
getPartialLine
public java.lang.String getPartialLine()
-
-