View Javadoc

1   /*
2    * $Id: TransportServiceNotFoundException.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.providers.service;
12  
13  import org.mule.config.i18n.MessageFactory;
14  
15  /**
16   * <code>TransportServiceNotFoundException</code> is thorown if no matching service
17   * endpoint descriptor is found for the connector protocol.
18   * 
19   */
20  
21  public class TransportServiceNotFoundException extends TransportFactoryException
22  {
23      /**
24       * Serial version
25       */
26      private static final long serialVersionUID = -8321406750213654479L;
27  
28      /**
29       * @param location the path of the service
30       */
31      public TransportServiceNotFoundException(String location)
32      {
33          super(MessageFactory.createStaticMessage(location));
34      }
35  
36      /**
37       * @param location the path of the service
38       * @param cause the exception that cause this exception to be thrown
39       */
40      public TransportServiceNotFoundException(String location, Throwable cause)
41      {
42          super(MessageFactory.createStaticMessage(location), cause);
43      }
44  }