1 /***
2 * JFoxSOAF, Service-Oriented Application Framework
3 *
4 * Copyright (C) www.huihoo.org
5 *
6 * Distributable under GNU LGPL license
7 *
8 * For more information, please visit: http://www.huihoo.org/jfox/jfoxsoaf
9 */
10
11 package org.huihoo.jfox.soaf.exception;
12
13 import net.sf.hibernate.exception.NestableException;
14
15 /***
16 * <p>
17 * Any exception that occurs inside JFoxSOAF.
18 * </p>
19 *
20 * @author <a href="mailto:founder_chen@yahoo.com.cn">Peter Cheng </a>
21 * @version $Revision: 1.2 $ $Date: 2004/10/20 07:36:49 $
22 * @version Revision: 1.0
23 */
24
25 public class JFoxSOAFException extends NestableException {
26
27 /***
28 * Construct a new exception with no cause and the specified detail message.
29 * Note modern JVMs may still track the exception that caused this one.
30 *
31 * @param message
32 * the message detailing the exception.
33 */
34 protected JFoxSOAFException(final String message) {
35 super(message);
36 }
37
38 /***
39 * Construct a new exception with the specified cause and no detail message.
40 *
41 * @param cause
42 * the exception that caused this one.
43 */
44 protected JFoxSOAFException(final Throwable cause) {
45 super(cause);
46 }
47
48 /***
49 * Construct a new exception with the specified cause and the specified
50 * detail message.
51 *
52 * @param message
53 * the message detailing the exception.
54 * @param cause
55 * the exception that caused this one.
56 */
57 protected JFoxSOAFException(final String message, final Throwable cause) {
58 super(message, cause);
59 }
60
61 }