Class ReadlineInterruptedException

All Implemented Interfaces:
Serializable

public class ReadlineInterruptedException extends ExitException

Special case ExitException that is thrown from Terminal#readline() when a user ctrl-cs when entering text. By default, this will cause RiskScape to exit, but it can be caught to allow a context menu or something to be shown instead of just exiting.

See Also:
  • Constructor Details

    • ReadlineInterruptedException

      public ReadlineInterruptedException()