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