1 package org.codehaus.xfire;
2
3
4 /***
5 * A catchable non-runtime exception
6 *
7 * @author <a href="mailto:dan@envoisolutions.com">Dan Diephouse</a>
8 * @since Feb 14, 2004
9 */
10 public class XFireException
11 extends Exception
12 {
13 private Throwable cause;
14
15 protected XFireException()
16 {
17 }
18
19 /***
20 * Constructs a new XFireException with the specified detail message.
21 *
22 * @param message the detail message.
23 */
24 public XFireException(String message)
25 {
26 super(message);
27 }
28
29 /***
30 * Constructs a new XFireException with the specified detail message and cause.
31 *
32 * @param message the detail message.
33 * @param cause the cause.
34 */
35 public XFireException(String message, Throwable cause)
36 {
37 super(message, cause);
38 }
39 }