Coverage Report - org.mule.api.endpoint.EndpointNotFoundException
 
Classes in this File Line Coverage Branch Coverage Complexity
EndpointNotFoundException
0%
0/8
N/A
1
 
 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.api.endpoint;
 8  
 
 9  
 import org.mule.config.i18n.CoreMessages;
 10  
 import org.mule.config.i18n.Message;
 11  
 
 12  
 /**
 13  
  * <code>EndpointNotFoundException</code> is thrown when an endpoint name or
 14  
  * protocol is specified but a matching endpoint is not registered with the Mule
 15  
  * server
 16  
  */
 17  
 
 18  
 public class EndpointNotFoundException extends EndpointException
 19  
 {
 20  
     /**
 21  
      * Serial version
 22  
      */
 23  
     private static final long serialVersionUID = 790450139906970837L;
 24  
 
 25  
     public EndpointNotFoundException(String endpoint)
 26  
     {
 27  0
         super(CoreMessages.endpointNotFound(endpoint));
 28  0
     }
 29  
 
 30  
     /**
 31  
      * @param message the exception message
 32  
      */
 33  
     public EndpointNotFoundException(Message message)
 34  
     {
 35  0
         super(message);
 36  0
     }
 37  
 
 38  
     /**
 39  
      * @param message the exception message
 40  
      * @param cause the exception that cause this exception to be thrown
 41  
      */
 42  
     public EndpointNotFoundException(Message message, Throwable cause)
 43  
     {
 44  0
         super(message, cause);
 45  0
     }
 46  
 
 47  
     public EndpointNotFoundException(Throwable cause)
 48  
     {
 49  0
         super(cause);
 50  0
     }
 51  
 }