01: /**
02: * JOnAS: Java(TM) Open Application Server
03: * Copyright (C) 1999 Bull S.A.
04: * Contact: jonas-team@objectweb.org
05: *
06: * This library is free software; you can redistribute it and/or
07: * modify it under the terms of the GNU Lesser General Public
08: * License as published by the Free Software Foundation; either
09: * version 2.1 of the License, or any later version.
10: *
11: * This library is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14: * Lesser General Public License for more details.
15: *
16: * You should have received a copy of the GNU Lesser General Public
17: * License along with this library; if not, write to the Free Software
18: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
19: * USA
20: *
21: * Initial developer(s): Florent BENOIT & Ludovic BERT
22: * --------------------------------------------------------------------------
23: * $Id: WebContainerDeploymentDescException.java 4854 2004-06-01 11:24:01Z benoitf $
24: * --------------------------------------------------------------------------
25: */package org.objectweb.jonas_web.deployment.api;
26:
27: import org.objectweb.jonas_lib.deployment.api.DeploymentDescException;
28:
29: /**
30: * The class WebContainerDeploymentDescException that indicates conditions
31: * that a reasonable application might want to catch.
32: * @author Ludovic Bert
33: * @author Florent Benoit
34: */
35: public class WebContainerDeploymentDescException extends
36: DeploymentDescException {
37:
38: /**
39: * Constructs a new WebContainerDeploymentDescException with no detail
40: * message.
41: */
42: public WebContainerDeploymentDescException() {
43: super ();
44: }
45:
46: /**
47: * Constructs a new WebContainerDeploymentDescException with the specified
48: * message.
49: * @param message the detail message.
50: */
51: public WebContainerDeploymentDescException(String message) {
52: super (message);
53: }
54:
55: /**
56: * Constructs a new WebContainerDeploymentDescException with the specified
57: * message and cause.
58: * @param message the detail message.
59: * @param cause The error or exception that cause this exception.
60: */
61: public WebContainerDeploymentDescException(String message,
62: Throwable cause) {
63: super (message, cause);
64: }
65:
66: /**
67: * Construct an exception from a causing exception.
68: * @param cause The error or exception that cause this exception.
69: * The message will be take be this object's message.
70: */
71: public WebContainerDeploymentDescException(Throwable cause) {
72: super(cause);
73: }
74:
75: }
|