View Javadoc

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  /***
14   * This class implements an exception which can wrapped a lower-level exception.
15   * 
16   * @author <a href="mailto:founder_chen@yahoo.com.cn">Peter Cheng </a>
17   * @version $Revision: 1.4 $ $Date: 2004/10/20 07:23:15 $
18   * @version Revision: 1.0
19   */
20  
21  public class ServiceLocatorException extends NestedCheckedException {
22  
23      /***
24       * Construct a new exception with no cause and no detail message.
25       */
26      public ServiceLocatorException() {
27      }
28  
29      /***
30       * Construct a new exception with no cause and the specified detail message.
31       * Note modern JVMs may still track the exception that caused this one.
32       * 
33       * @param message
34       *            the message detailing the exception.
35       */
36      public ServiceLocatorException(final String message) {
37          super(message);
38      }
39  
40      /***
41       * Construct a new exception with the specified cause and no detail message.
42       * 
43       * @param cause
44       *            the exception that caused this one.
45       */
46      public ServiceLocatorException(final Throwable cause) {
47          super(cause);
48      }
49  
50      /***
51       * Construct a new exception with the specified cause and the specified
52       * detail message.
53       * 
54       * @param message
55       *            the message detailing the exception.
56       * @param cause
57       *            the exception that caused this one.
58       */
59      public ServiceLocatorException(final String message, final Throwable cause) {
60          super(message, cause);
61      }
62  
63  }