01: /**
02: * JOnAS: Java(TM) Open Application Server
03: * Copyright (C) 1999-2004 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 1any 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: Florent BENOIT
22: * --------------------------------------------------------------------------
23: * $Id: JResourceException.java 7977 2006-02-07 08:58:26Z benoitf $
24: * --------------------------------------------------------------------------
25: */package org.objectweb.jonas.security.realm.factory;
26:
27: /**
28: * The class MailServiceException that indicates conditions that a reasonable
29: * application might want to catch.
30: * @author Ludovic Bert
31: * @author Florent Benoit
32: */
33: public class JResourceException extends java.lang.RuntimeException {
34:
35: /**
36: * Uid for serializable class.
37: */
38: private static final long serialVersionUID = -4879978965028070035L;
39:
40: /**
41: * Constructs a new JResourceException with the specified message.
42: * @param message the detail message.
43: */
44: public JResourceException(String message) {
45: super (message);
46: }
47:
48: /**
49: * Constructs a new JResourceException exception with the specified detail message and
50: * cause. <p>Note that the detail message associated with
51: * <code>cause</code> is <i>not</i> automatically incorporated in
52: * this runtime exception's detail message.
53: * @param message the detail message.
54: * @param cause the cause
55: */
56: public JResourceException(String message, Throwable cause) {
57: super(message, cause);
58: }
59:
60: }
|