Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
EndpointException |
|
| 1.0;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.api.MuleException; | |
10 | import org.mule.config.i18n.Message; | |
11 | ||
12 | /** | |
13 | * <code>EndpointException</code> is an abstract exception extended by endpoint | |
14 | * specific exceptions. | |
15 | */ | |
16 | ||
17 | public class EndpointException extends MuleException | |
18 | { | |
19 | /** | |
20 | * Serial version | |
21 | */ | |
22 | private static final long serialVersionUID = 3219403251233216800L; | |
23 | ||
24 | /** | |
25 | * @param message the exception message | |
26 | */ | |
27 | public EndpointException(Message message) | |
28 | { | |
29 | 0 | super(message); |
30 | 0 | } |
31 | ||
32 | /** | |
33 | * @param message the exception message | |
34 | * @param cause the exception that cause this exception to be thrown | |
35 | */ | |
36 | public EndpointException(Message message, Throwable cause) | |
37 | { | |
38 | 0 | super(message, cause); |
39 | 0 | } |
40 | ||
41 | public EndpointException(Throwable cause) | |
42 | { | |
43 | 0 | super(cause); |
44 | 0 | } |
45 | } |