NullInputException

Signals that the REPL's standard input stream ended (returned null) while a query or a continuation line was expected, e.g. because the terminal was closed or stdin reached end-of-file.

AbstractTuPrologCommand throws this exception (from its readQuery helper) whenever terminal.prompt(...) returns null; TuPrologCmd catches it to print a farewell message and terminate the REPL loop gracefully, rather than crashing.

Constructors

Link copied to clipboard
constructor(message: String?, cause: Throwable?)
constructor(cause: Throwable?)
constructor(message: String?)

Properties

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard
expect open val message: String?