1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
package org.mule.example.errorhandler; |
8 | |
|
9 | |
import org.mule.api.MuleException; |
10 | |
import org.mule.config.i18n.MessageFactory; |
11 | |
|
12 | |
public class HandlerException extends MuleException |
13 | |
{ |
14 | |
|
15 | |
|
16 | |
|
17 | |
|
18 | |
private static final long serialVersionUID = -1446892313657626797L; |
19 | |
|
20 | |
public HandlerException(String message) |
21 | |
{ |
22 | 0 | super(MessageFactory.createStaticMessage(message)); |
23 | 0 | } |
24 | |
|
25 | |
public HandlerException(String message, Throwable cause) |
26 | |
{ |
27 | 0 | super(MessageFactory.createStaticMessage(message), cause); |
28 | 0 | } |
29 | |
|
30 | |
} |