1 package org.sapia.console.examples; 2 3 import org.sapia.console.AbortException; 4 import org.sapia.console.Command; 5 import org.sapia.console.Context; 6 import org.sapia.console.InputException; 7 8 9 13 public class QuitCommand implements Command { 14 17 public QuitCommand() { 18 super(); 19 } 20 21 24 public void execute(Context ctx) throws AbortException, InputException { 25 throw new AbortException(); 26 } 27 } 28 | Popular Tags |