Package net.hydromatic.morel.eval
Interface Session.Shell
- All Known Implementing Classes:
Main.Shell,Main.SubShell,Session.Shells,Shell.SubShell.Use
- Enclosing class:
Session
public static interface Session.Shell
Callback to implement "use" command.
-
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(RuntimeException e, StringBuilder buf) Handles an exception.void
-
Method Details
-
use
-
handle
Handles an exception. Particular implementations may re-throw the exception, or may format the exception to a buffer that will be added to the output. Typically, a root shell will handle the exception, and sub-shells will re-throw.
-