View Javadoc
1   /*
2    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
3    * The software in this package is published under the terms of the CPAL v1.0
4    * license, a copy of which has been included with this distribution in the
5    * LICENSE.txt file.
6    */
7   package org.mule.transport.service;
8   
9   import org.mule.config.i18n.Message;
10  
11  /**
12   * <code>TransportServiceException</code> is thrown if a ProviderServicedescriptor
13   * has a service error set. This is usually because the endpoint/connector cannot be
14   * created from a service descriptor
15   * 
16   */
17  
18  public class TransportServiceException extends TransportFactoryException
19  {
20      /**
21       * Serial version
22       */
23      private static final long serialVersionUID = 5377271625492627661L;
24  
25      /**
26       * @param message the exception message
27       */
28      public TransportServiceException(Message message)
29      {
30          super(message);
31      }
32  
33      /**
34       * @param message the exception message
35       * @param cause the exception that cause this exception to be thrown
36       */
37      public TransportServiceException(Message message, Throwable cause)
38      {
39          super(message, cause);
40      }
41  }