View Javadoc

1   /*
2    * $Id: OperationCanceledException.java,v 1.18 2011/06/16 09:29:42 jbmeslin Exp $
3    * 
4    */
5   package org.rcfaces.core.progressMonitor;
6   
7   /**
8    * This exception is thrown to blow out of a long-running method when the user
9    * cancels it.
10   */
11  public final class OperationCanceledException extends RuntimeException {
12      private static final String REVISION = "$Revision: 1.18 $";
13  
14      private static final long serialVersionUID = 5920274573566673815L;
15  
16      public OperationCanceledException() {
17      }
18  
19      /**
20       * Creates a new exception with the given message.
21       * 
22       * @param message
23       *            the message for the exception
24       */
25      public OperationCanceledException(String message) {
26          super(message);
27      }
28  }