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.api.endpoint.EndpointException; 10 import org.mule.config.i18n.Message; 11 12 /** 13 * <code>TransportFactoryException</code> is thrown by the endpoint factory if the 14 * endpoint service cannot be found in the META-INF/services directory or if any part 15 * of the endpoint cannot be instanciated. 16 * 17 */ 18 19 public class TransportFactoryException extends EndpointException 20 { 21 /** 22 * Serial version 23 */ 24 private static final long serialVersionUID = -4166766364690837213L; 25 26 /** 27 * @param message the exception message 28 */ 29 public TransportFactoryException(Message message) 30 { 31 super(message); 32 } 33 34 /** 35 * @param message the exception message 36 * @param cause the exception that cause this exception to be thrown 37 */ 38 public TransportFactoryException(Message message, Throwable cause) 39 { 40 super(message, cause); 41 } 42 43 public TransportFactoryException(Throwable cause) 44 { 45 super(cause); 46 } 47 }