Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
ExceptionPayload |
|
| 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; | |
8 | ||
9 | import java.io.Serializable; | |
10 | import java.util.Map; | |
11 | ||
12 | /** | |
13 | * <code>ExceptionPayload</code> is a message payload that contains exception | |
14 | * information that occurred during message processing. | |
15 | */ | |
16 | public interface ExceptionPayload extends Serializable | |
17 | { | |
18 | ||
19 | int getCode(); | |
20 | ||
21 | String getMessage(); | |
22 | ||
23 | Map getInfo(); | |
24 | ||
25 | Throwable getException(); | |
26 | ||
27 | Throwable getRootException(); | |
28 | ||
29 | } |