Coverage Report - org.mule.api.transport.NoReceiverForEndpointException
 
Classes in this File Line Coverage Branch Coverage Complexity
NoReceiverForEndpointException
0%
0/8
N/A
1
 
 1  
 /*
 2  
  * $Id: NoReceiverForEndpointException.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.api.transport;
 12  
 
 13  
 import org.mule.api.endpoint.EndpointException;
 14  
 import org.mule.config.i18n.CoreMessages;
 15  
 import org.mule.config.i18n.Message;
 16  
 
 17  
 /**
 18  
  * <code>NoReceiverForEndpointException</code> is thrown when an enpoint is
 19  
  * specified for a receiver but no such receiver exists.
 20  
  */
 21  
 
 22  
 public class NoReceiverForEndpointException extends EndpointException
 23  
 {
 24  
     /**
 25  
      * Serial version
 26  
      */
 27  
     private static final long serialVersionUID = -3954838511333933643L;
 28  
 
 29  
     /**
 30  
      * @param endpoint the endpoint that could not be located
 31  
      */
 32  
     public NoReceiverForEndpointException(String endpoint)
 33  
     {
 34  0
         super(CoreMessages.endpointNotFound(endpoint));
 35  0
     }
 36  
 
 37  
     /**
 38  
      * @param message the exception message
 39  
      */
 40  
     public NoReceiverForEndpointException(Message message)
 41  
     {
 42  0
         super(message);
 43  0
     }
 44  
 
 45  
     /**
 46  
      * @param message the exception message
 47  
      * @param cause the exception that cause this exception to be thrown
 48  
      */
 49  
     public NoReceiverForEndpointException(Message message, Throwable cause)
 50  
     {
 51  0
         super(message, cause);
 52  0
     }
 53  
 
 54  
     public NoReceiverForEndpointException(Throwable cause)
 55  
     {
 56  0
         super(cause);
 57  0
     }
 58  
 
 59  
 }