Example #1
0
  public void showExceptionOnGlassPane(Exception exc) {

    if (!slotMachine.isRunning()) {
      slotMachine.setException(exc);
      System.out.println("Starting slot machine");
      slotMachine.startSlotMachine();
    }
  }
Example #2
0
 public ExceptionHandler() {
   slotMachine = SlotMachineExceptionHandler.getInstance();
 }