1 /* 2 * $Id: EndpointException.java 7976 2007-08-21 14:26:13Z 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 * @author <a href="mailto:ross.mason@symphonysoft.com">Ross Mason</a> 21 * @version $Revision: 7976 $ 22 */ 23 24 public class EndpointException extends UMOException 25 { 26 /** 27 * Serial version 28 */ 29 private static final long serialVersionUID = 3219403251233216800L; 30 31 /** 32 * @param message the exception message 33 */ 34 public EndpointException(Message message) 35 { 36 super(message); 37 } 38 39 /** 40 * @param message the exception message 41 * @param cause the exception that cause this exception to be thrown 42 */ 43 public EndpointException(Message message, Throwable cause) 44 { 45 super(message, cause); 46 } 47 48 public EndpointException(Throwable cause) 49 { 50 super(cause); 51 } 52 }