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: AspectInsertionException.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.prose; 28 29 /** 30 * Exception class AspectInsertionException signals that an extension 31 * could not be inserted into a VM, or is not compatible with the 32 * current state of a VM. 33 * 34 * This exception is usually thrown by the <code>insertionAction</code> method 35 * of extensions, when an extension does not want to be inserted into a VM. 36 * 37 * @version $Revision: 1.1.1.1 $ 38 * @author Andrei Popovici 39 */ 40 public 41 class AspectInsertionException extends RuntimeException { 42 43 /** 44 * Constructs an <code>AspectInsertionException</code> with no detail message. 45 */ 46 public AspectInsertionException() 47 { 48 super(); 49 } 50 51 /** 52 * Constructs an <code>AspectInsertionException</code> with the specified 53 * detail message. 54 */ 55 public AspectInsertionException(String s) 56 { 57 super(s); 58 } 59 60 } 61 62 63 //====================================================================== 64 // 65 // $Log: AspectInsertionException.java,v $ 66 // Revision 1.1.1.1 2003/07/02 15:30:50 apopovic 67 // Imported from ETH Zurich 68 // 69 // Revision 1.1 2003/05/05 13:58:33 popovici 70 // renaming from runes to prose 71 // 72 // Revision 1.1 2003/04/17 15:15:10 popovici 73 // Extension->Aspect renaming 74 // 75 // Revision 1.2 2002/03/28 13:48:33 popovici 76 // Mozilla-ified 77 // 78 // Revision 1.1.1.1 2001/11/29 18:13:15 popovici 79 // Sources from runes 80 // 81 // Revision 1.1.2.1 2001/02/07 11:47:36 popovici 82 // Initial Revision 83 // 84