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.ShellCallback to implement "use" command.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhandle(RuntimeException e, StringBuilder buf)Handles an exception.voiduse(String fileName, Pos pos)
-
-
-
Method Detail
-
handle
void handle(RuntimeException e, StringBuilder buf)
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.
-
-