samples/trycatchredo/src/org/apidesign/exceptions/trycatchredo/api/SaveActionWithQuery.java
changeset 314 03a451fc2256
parent 312 0678c9589013
     1.1 --- a/samples/trycatchredo/src/org/apidesign/exceptions/trycatchredo/api/SaveActionWithQuery.java	Sun Feb 01 16:29:46 2009 +0100
     1.2 +++ b/samples/trycatchredo/src/org/apidesign/exceptions/trycatchredo/api/SaveActionWithQuery.java	Sun Feb 01 17:41:32 2009 +0100
     1.3 @@ -25,6 +25,7 @@
     1.4      
     1.5      public void actionPerformed(ActionEvent ev) {
     1.6          assert EventQueue.isDispatchThread();
     1.7 +        // BEGIN: trycatchredo.SaveActionWithQuery
     1.8          for (;;) {
     1.9              try {
    1.10                  OutputStream os = where.openConnection().getOutputStream();
    1.11 @@ -46,6 +47,7 @@
    1.12              }
    1.13              break;
    1.14          }
    1.15 +        // END: trycatchredo.SaveActionWithQuery
    1.16      }
    1.17  
    1.18      private static void setVisible(JDialog d, JOptionPane p) {