|
|||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| AmbiguousFieldException.java | - | 0% | 0% | 0% |
|
||||||||||||||
| 1 | /* | |
| 2 | * DynamicJava - Copyright (C) 1999-2001 | |
| 3 | * | |
| 4 | * Permission is hereby granted, free of charge, to any person obtaining a | |
| 5 | * copy of this software and associated documentation files | |
| 6 | * (the "Software"), to deal in the Software without restriction, including | |
| 7 | * without limitation the rights to use, copy, modify, merge, publish, | |
| 8 | * distribute, sublicense, and/or sell copies of the Software, and to permit | |
| 9 | * persons to whom the Software is furnished to do so, subject to the | |
| 10 | * following conditions: | |
| 11 | * The above copyright notice and this permission notice shall be included | |
| 12 | * in all copies or substantial portions of the Software. | |
| 13 | * | |
| 14 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS | |
| 15 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | |
| 16 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | |
| 17 | * IN NO EVENT SHALL DYADE BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
| 18 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | |
| 19 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | |
| 20 | * DEALINGS IN THE SOFTWARE. | |
| 21 | * | |
| 22 | * Except as contained in this notice, the name of Dyade shall not be | |
| 23 | * used in advertising or otherwise to promote the sale, use or other | |
| 24 | * dealings in this Software without prior written authorization from | |
| 25 | * Dyade. | |
| 26 | * | |
| 27 | */ | |
| 28 | ||
| 29 | package koala.dynamicjava.util; | |
| 30 | ||
| 31 | /** | |
| 32 | * This exception is thrown when a lookup for a field | |
| 33 | * is ambiguous. | |
| 34 | * | |
| 35 | * @author Stephane Hillion | |
| 36 | * @version 1.0 - 1999/06/06 | |
| 37 | */ | |
| 38 | ||
| 39 | public class AmbiguousFieldException extends Exception { | |
| 40 | /** | |
| 41 | * Constructs an <code>AmbiguousFieldException</code> with no detail message. | |
| 42 | */ | |
| 43 | 0 | public AmbiguousFieldException() { |
| 44 | 0 | this(""); |
| 45 | } | |
| 46 | ||
| 47 | /** | |
| 48 | * Constructs an <code>AmbiguousFieldException</code> with the specified | |
| 49 | * detail message. | |
| 50 | * @param s the detail message (a key in a resource file). | |
| 51 | */ | |
| 52 | 0 | public AmbiguousFieldException(String s) { |
| 53 | 0 | super(s); |
| 54 | } | |
| 55 | } |
|
||||||||||