samples/trycatchredo/src/org/apidesign/exceptions/trycatchredo/api/SaveAction.java
changeset 314 03a451fc2256
parent 312 0678c9589013
     1.1 --- a/samples/trycatchredo/src/org/apidesign/exceptions/trycatchredo/api/SaveAction.java	Sun Feb 01 16:29:46 2009 +0100
     1.2 +++ b/samples/trycatchredo/src/org/apidesign/exceptions/trycatchredo/api/SaveAction.java	Sun Feb 01 17:41:32 2009 +0100
     1.3 @@ -24,6 +24,7 @@
     1.4      
     1.5      public void actionPerformed(ActionEvent ev) {
     1.6          assert EventQueue.isDispatchThread();
     1.7 +        // BEGIN: trycatchredo.SaveAction
     1.8          try {
     1.9              OutputStream os = where.openConnection().getOutputStream();
    1.10              os.write(what.toString().getBytes());
    1.11 @@ -31,5 +32,6 @@
    1.12          } catch (IOException ex) {
    1.13              JOptionPane.showMessageDialog(null, ex);
    1.14          }
    1.15 +        // END: trycatchredo.SaveAction
    1.16      }
    1.17  }