View Javadoc

1   /*
2    * $Id: EndpointException.java 7963 2007-08-21 08:53:15Z dirk.olmes $
3    * --------------------------------------------------------------------------------------
4    * Copyright (c) MuleSource, Inc.  All rights reserved.  http://www.mulesource.com
5    *
6    * The software in this package is published under the terms of the CPAL v1.0
7    * license, a copy of which has been included with this distribution in the
8    * LICENSE.txt file.
9    */
10  
11  package org.mule.umo.endpoint;
12  
13  import org.mule.config.i18n.Message;
14  import org.mule.umo.UMOException;
15  
16  /**
17   * <code>EndpointException</code> is an abstract exception extended by endpoint
18   * specific exceptions.
19   */
20  
21  public class EndpointException extends UMOException
22  {
23      /**
24       * Serial version
25       */
26      private static final long serialVersionUID = 3219403251233216800L;
27  
28      /**
29       * @param message the exception message
30       */
31      public EndpointException(Message message)
32      {
33          super(message);
34      }
35  
36      /**
37       * @param message the exception message
38       * @param cause the exception that cause this exception to be thrown
39       */
40      public EndpointException(Message message, Throwable cause)
41      {
42          super(message, cause);
43      }
44  
45      public EndpointException(Throwable cause)
46      {
47          super(cause);
48      }
49  }