01: /*
02: * XML 2 Java Binding (X2JB) - the excellent Java tool.
03: * Copyright 2007, by Richard Opalka.
04: *
05: * This is free software; you can redistribute it and/or modify it
06: * under the terms of the GNU Lesser General Public License as
07: * published by the Free Software Foundation; either version 2.1 of
08: * the License, or (at your option) any later version.
09: *
10: * This software is distributed in the hope that it will be useful,
11: * but WITHOUT ANY WARRANTY; without even the implied warranty of
12: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13: * Lesser General Public License for more details.
14: *
15: * You should have received a copy of the GNU Lesser General Public
16: * License along with this software; if not see the FSF site:
17: * http://www.fsf.org/ and search for the LGPL License document there.
18: */
19: package org.x2jb.bind;
20:
21: /**
22: * <b>XML 2 Java Binding</b> exception heavily used by this framework.
23: *
24: * @author <a href="mailto:richard_opalka@yahoo.com">Richard Opalka</a>
25: * @version 1.0
26: */
27: public class BindingException extends Exception {
28:
29: private static final long serialVersionUID = 965861624467691961L;
30:
31: /**
32: * Creates the exception
33: */
34: public BindingException() {
35: super ();
36: }
37:
38: /**
39: * Creates the exception containing specified message
40: * @param m message
41: */
42: public BindingException(String m) {
43: super (m);
44: }
45:
46: /**
47: * Creates the exception containing specified message and cause
48: * @param m message
49: * @param t cause
50: */
51: public BindingException(String m, Throwable t) {
52: super (m, t);
53: }
54:
55: /**
56: * Creates the exception containing the cause
57: * @param t cause
58: */
59: public BindingException(Throwable t) {
60: super(t);
61: }
62:
63: }
|