1 /* 2 * $Id: TransportFactoryException.java 19191 2010-08-25 21:05:23Z tcarlson $ 3 * -------------------------------------------------------------------------------------- 4 * Copyright (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.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.transport.service; 12 13 import org.mule.api.endpoint.EndpointException; 14 import org.mule.config.i18n.Message; 15 16 /** 17 * <code>TransportFactoryException</code> is thrown by the endpoint factory if the 18 * endpoint service cannot be found in the META-INF/services directory or if any part 19 * of the endpoint cannot be instanciated. 20 * 21 */ 22 23 public class TransportFactoryException extends EndpointException 24 { 25 /** 26 * Serial version 27 */ 28 private static final long serialVersionUID = -4166766364690837213L; 29 30 /** 31 * @param message the exception message 32 */ 33 public TransportFactoryException(Message message) 34 { 35 super(message); 36 } 37 38 /** 39 * @param message the exception message 40 * @param cause the exception that cause this exception to be thrown 41 */ 42 public TransportFactoryException(Message message, Throwable cause) 43 { 44 super(message, cause); 45 } 46 47 public TransportFactoryException(Throwable cause) 48 { 49 super(cause); 50 } 51 }