1 // 2 // This file is part of the prose package. 3 // 4 // The contents of this file are subject to the Mozilla Public License 5 // Version 1.1 (the "License"); you may not use this file except in 6 // compliance with the License. You may obtain a copy of the License at 7 // http://www.mozilla.org/MPL/ 8 // 9 // Software distributed under the License is distributed on an "AS IS" basis, 10 // WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 11 // for the specific language governing rights and limitations under the 12 // License. 13 // 14 // The Original Code is prose. 15 // 16 // The Initial Developer of the Original Code is Andrei Popovici. Portions 17 // created by Andrei Popovici are Copyright (C) 2002 Andrei Popovici. 18 // All Rights Reserved. 19 // 20 // Contributor(s): 21 // $Id: CannotSetWatchException.java,v 1.1.1.1 2003/07/02 15:30:50 apopovic Exp $ 22 // ===================================================================== 23 // 24 // (history at end) 25 // 26 27 package ch.ethz.jvmai; 28 29 // used packages/classes 30 import ch.ethz.jvmai.JVMAIRuntimeException; 31 32 /** 33 * Exception class CannotSetWatchException signals that the aspect-interface was 34 * unable to set a watch on a field or method. Reasons may be that the 35 * method on which the watch should be set is declared abstract or a native, or 36 * that the declaring class is not accepted given the package-prefixes. 37 * 38 * @version $Revision: 1.1.1.1 $ 39 * @author Stephan Markwalder 40 */ 41 public class CannotSetWatchException extends JVMAIRuntimeException { 42 43 /** 44 * Constructs an <code>CannotSetWatchException</code> with no detail message. 45 */ 46 public CannotSetWatchException() 47 { 48 super(); 49 } 50 51 /** 52 * Constructs an <code>CannotSetWatchException</code> with the specified 53 * detail message. 54 */ 55 public CannotSetWatchException(String s) 56 { 57 super(s); 58 } 59 60 } 61 62 //====================================================================== 63 // 64 // $Log: CannotSetWatchException.java,v $ 65 // Revision 1.1.1.1 2003/07/02 15:30:50 apopovic 66 // Imported from ETH Zurich 67 // 68 // Revision 1.1 2003/05/05 14:02:25 popovici 69 // renaming from runes to prose 70 // 71 // Revision 1.3 2002/03/28 13:48:24 popovici 72 // Mozilla-ified 73 // 74 // Revision 1.2 2002/02/13 12:23:17 smarkwal 75 // comments added. 76 // 77 // Revision 1.1 2001/12/14 15:01:13 smarkwal 78 // Initial Revision 79 // 80