001 package sale; 002 003 /** 004 * Exception thrown when some action was cancelled by the user. You can use this exception to mark 005 * cancellation of your own actions. 006 * 007 * @author Steffen Zschaler 008 * @version 2.0 17/08/1999 009 * @since v2.0 010 */ 011 public class CancelledException extends Exception { 012 013 /** 014 * Create a new CancelledException. 015 */ 016 public CancelledException() { 017 super(); 018 } 019 020 /** 021 * Create a new CancelledException with a detail message. 022 * 023 * @param sDetail the detail message. 024 */ 025 public CancelledException(String sDetail) { 026 super(sDetail); 027 } 028 }