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: ThreadStateException.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.inf.iks.jvmai.jvmdi; 28 29 import ch.ethz.jvmai.JVMAIRuntimeException; 30 /** 31 * Exception class ThreadStateException signals that the state of 32 * a thread is not int he appropriate state, a wrong priority 33 * has been assigned to, etc.. 34 * 35 * @version $Revision: 1.1.1.1 $ 36 * @author Andrei Popovici 37 */ 38 public 39 class ThreadStateException extends JVMAIRuntimeException { 40 41 /** 42 * Constructs an <code>ThreadStateException</code> with no detail message. 43 */ 44 public ThreadStateException() 45 { 46 super(); 47 } 48 49 /** 50 * Constructs an <code>ThreadStateException</code> with the specified 51 * detail message. 52 */ 53 public ThreadStateException(String s) 54 { 55 super(s); 56 } 57 58 } 59 60 61 //====================================================================== 62 // 63 // $Log: ThreadStateException.java,v $ 64 // Revision 1.1.1.1 2003/07/02 15:30:50 apopovic 65 // Imported from ETH Zurich 66 // 67 // Revision 1.4 2003/05/05 17:46:28 popovici 68 // Refactorization step (runes->prose) cleanup 69 // 70 // Revision 1.3 2003/03/04 11:26:47 popovici 71 // Important refactorization step (march): 72 // - removal of 'JoinPointEvents'; JoinPoints now have the same function as events 73 // - reimplementation of the JVMAIDebuggerAspectInterface (better performance, coding conventions, removal of ProseVM 74 // structures 75 // 76 // Revision 1.2 2002/03/28 13:48:22 popovici 77 // Mozilla-ified 78 // 79 // Revision 1.1 2002/02/14 16:02:30 popovici 80 // Bug fixes, PROSEVM moved to boot 81 // 82 // Revision 1.1 2002/02/06 11:53:56 popovici 83 // Refactoring from prose classical to jvmai 84 // 85 // Revision 1.1.1.1 2001/11/29 18:13:11 popovici 86 // Sources from runes 87 // 88 // Revision 1.1.2.1 2001/11/21 11:55:51 popovici 89 // Initial Revision 90 // 91