public class

UserInterruptException

extends RuntimeException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ jline.console.UserInterruptException

Class Overview

This exception is thrown by readLine() when user interrupt handling is enabled and the user types the interrupt character (ctrl-C). The partially entered line is available via the getPartialLine() method.

Summary

Public Constructors
UserInterruptException(String partialLine)
Public Methods
String getPartialLine()
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public UserInterruptException (String partialLine)

Public Methods

public String getPartialLine ()

Returns
  • the partially entered line when ctrl-C was pressed