01: /*
02: Mdarad-Toolobox is a collection of tools for Architected RAD
03: (Rapid Application Development) based on an MDA approach.
04: The toolbox contains frameworks and generators for many environments
05: (JAVA, J2EE, Hibernate, .NET, C++, etc.) which allow to generate
06: applications from a design Model
07: Copyright (C) 2004-2005 Elapse Technologies Inc.
08:
09: This library is free software; you can redistribute it and/or
10: modify it under the terms of the GNU General Public
11: License as published by the Free Software Foundation; either
12: version 2.1 of the License, or (at your option) any later version.
13:
14: This library is distributed in the hope that it will be useful,
15: but WITHOUT ANY WARRANTY; without even the implied warranty of
16: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17: General Public License for more details.
18:
19: You should have received a copy of the GNU General Public
20: License along with this library; if not, write to the Free Software
21: Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22: */
23: package org.mdarad.framework.util;
24:
25: /**
26: * This class is used for exception in the ClassUtils class.
27: * @author Philippe Brouillette
28: * @version 1.0
29: */
30: public class ClassUtilsException extends Exception {
31:
32: public ClassUtilsException() {
33: super ();
34: }
35:
36: /**
37: * @param message
38: */
39: public ClassUtilsException(String message) {
40: super (message);
41: }
42:
43: /**
44: * @param cause
45: */
46: public ClassUtilsException(Throwable cause) {
47: super (cause.getMessage());
48: }
49:
50: /**
51: * @param message
52: * @param cause
53: */
54: public ClassUtilsException(String message, Throwable cause) {
55: super (message + ": " + cause.getMessage());
56: }
57:
58: }
|