01: /*
02: * ChainBuilder ESB
03: * Visual Enterprise Integration
04: *
05: * Copyright (C) 2006 Bostech Corporation
06: *
07: * This program is free software; you can redistribute it and/or modify
08: * it under the terms of the GNU General Public License as published by
09: * the Free Software Foundation; either version 2 of the License, or
10: * (at your option) any later version.
11: *
12: * This program is distributed in the hope that it will be useful,
13: * but WITHOUT ANY WARRANTY; without even the implied warranty of
14: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15: * General Public License for more details.
16: *
17: * You should have received a copy of the GNU General Public License
18: * along with this program; if not, write to the Free Software
19: * Foundation, Inc.,59 Temple Place, Suite 330, Boston, MA 02111-1307
20: * USA
21: *
22: * $Id: MDLException.java 3614 2006-12-11 22:36:52Z mpreston $
23: *
24: */
25: package com.bostechcorp.cbesb.common.mdl;
26:
27: /**
28: * Provides an MDL specific Exception that can be used when there are errors
29: * loading/serializing an MDL file, or when other errors occur that are specific
30: * to MDL.
31: *
32: */
33: public class MDLException extends Exception {
34:
35: private static final long serialVersionUID = -8850401537420373465L;
36:
37: /**
38: * The Constructor
39: */
40: public MDLException() {
41: super ();
42: }
43:
44: /**
45: * The constructor that has two parameters.
46: *
47: * @param message String
48: * @param cause Throwable
49: */
50: public MDLException(String message, Throwable cause) {
51: super (message, cause);
52: }
53:
54: /**
55: * The constructor that has one parameter.
56: *
57: * @param message String
58: */
59: public MDLException(String message) {
60: super (message);
61: }
62:
63: /**
64: * The constructor that has one parameter.
65: *
66: * @param cause
67: */
68: public MDLException(Throwable cause) {
69: super(cause);
70: }
71: }
|