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 Details

    • use

      void use(String fileName, Pos pos)
    • 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.