Class Shell.SubShell.Use

java.lang.Object
net.hydromatic.morel.Shell.SubShell.Use
All Implemented Interfaces:
Session.Shell
Enclosing class:
Shell.SubShell

private class Shell.SubShell.Use extends Object implements Session.Shell
Implementation of the "use" function.
  • Field Details

  • Constructor Details

  • Method Details

    • use

      public void use(String fileName, boolean silent, Pos pos)
      Specified by:
      use in interface Session.Shell
    • handle

      public void handle(RuntimeException e, StringBuilder buf)
      Description copied from interface: Session.Shell
      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.
      Specified by:
      handle in interface Session.Shell