Source code: org/edelbyte/util/UnknownValueException.java
1 /* ######################################################################### */
2 /* ## ## */
3 /* ## U T I L / U N K N O W N V A L U E E X C E P T I O N . J A V A ## */
4 /* ## ## */
5 /* ## ------------------------------------------------------------------- ## */
6 /* ## ## */
7 /* ## Job .......: Class providing an Exception for any case, where ## */
8 /* ## no useful return code can be returned. ## */
9 /* ## ## */
10 /* ## ------------------------------------------------------------------- ## */
11 /* ## ## */
12 /* ## Copyright (C) 2002 Daniel Scheibli ## */
13 /* ## ## */
14 /* ## This program is free software; you can redistribute it and/or ## */
15 /* ## modify it under the terms of the GNU General Public License ## */
16 /* ## as published by the Free Software Foundation; either version 2 ## */
17 /* ## of the License, or (at your option) any later version. ## */
18 /* ## ## */
19 /* ## This program is distributed in the hope that it will be useful, ## */
20 /* ## but WITHOUT ANY WARRANTY; without even the implied warranty of ## */
21 /* ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ## */
22 /* ## GNU General Public License for more details. ## */
23 /* ## ## */
24 /* ## You should have received a copy of the GNU General Public License ## */
25 /* ## along with this program; if not, write to the Free Software ## */
26 /* ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, ## */
27 /* ## MA 02111-1307, USA. ## */
28 /* ## ## */
29 /* ## ------------------------------------------------------------------- ## */
30 /* ## ## */
31 /* ## Remark ....: <none> ## */
32 /* ## ## */
33 /* ## ------------------------------------------------------------------- ## */
34 /* ## ## */
35 /* ## Author ....: Daniel Scheibli <daniel.scheibli@edelbyte.org> ## */
36 /* ## Date ......: 2002-10-10 ## */
37 /* ## Changes ...: ----- UnknownValueException.java V00.99/R020 -------- ## */
38 /* ## <none> ## */
39 /* ## ----- UnknownValueException.java V00.99/R011 -------- ## */
40 /* ## <none> ## */
41 /* ## ## */
42 /* ######################################################################### */
43
44
45
46 /* ##### Presettings */
47 /* ------------------------------------------------------------------------- */
48 package org.edelbyte.util;
49 /* ------------------------------------------------------------------------- */
50
51
52
53
54
55 /* ##### Class definition */
56 /** ************************************************************************
57 * Checked exception thrown in cases where no useful return code
58 * can be provided / returned.
59 * @author Daniel Scheibli <daniel.scheibli at edelbyte.org>
60 * ************************************************************************* */
61 public class UnknownValueException extends Exception
62 {
63 /* ######################################################################## */
64 /* ## ## */
65 /* ## U N K N O W N V A L U E E X C E P T I O N () ## */
66 /* ## ## */
67 /* ######################################################################## */
68 /** ***********************************************************************
69 * Constructs an UnknownValueException with no detailed message.
70 * ************************************************************************ */
71 public UnknownValueException( )
72 { super(); }
73
74
75
76
77
78 /* ######################################################################## */
79 /* ## ## */
80 /* ## U N K N O W N V A L U E E X C E P T I O N () ## */
81 /* ## ## */
82 /* ######################################################################## */
83 /** ***********************************************************************
84 * Constructs an UnknownValueException with the specified
85 * detailed message.
86 *
87 * @param oMessage
88 * The String that contains the detailed message.
89 * ************************************************************************ */
90 public UnknownValueException( java.lang.String oMessage )
91 { super( oMessage ); }
92 }
93 /* ------------------------------------------------------------------------- */
94
95