Package org.jline.reader
Class UserInterruptException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.jline.reader.UserInterruptException
-
- All Implemented Interfaces:
java.io.Serializable
public class UserInterruptException extends java.lang.RuntimeException
This exception is thrown byLineReader.readLine()
when user interrupt handling is enabled and the user types the interrupt character (ctrl-C). The partially entered line is available via thegetPartialLine()
method.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
partialLine
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description UserInterruptException(java.lang.String partialLine)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getPartialLine()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
partialLine
private final java.lang.String partialLine
-
-