- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.jline.reader.UserInterruptException
-
- All Implemented Interfaces:
Serializable
public class UserInterruptException extends 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
-
-
Constructor Summary
Constructors Constructor Description UserInterruptException(String partialLine)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPartialLine()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-