1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
package org.mule.impl; |
12 | |
|
13 | |
import org.mule.config.i18n.CoreMessages; |
14 | |
import org.mule.umo.UMOException; |
15 | |
|
16 | |
import java.util.List; |
17 | |
|
18 | |
|
19 | |
|
20 | |
|
21 | |
|
22 | |
|
23 | |
|
24 | |
|
25 | |
public class NoSatisfiableMethodsException extends UMOException |
26 | |
{ |
27 | |
|
28 | |
|
29 | |
|
30 | |
private static final long serialVersionUID = -4703387041767867189L; |
31 | |
|
32 | |
|
33 | |
|
34 | |
|
35 | |
public NoSatisfiableMethodsException(Object component, List args) |
36 | |
{ |
37 | 0 | this(component, args, null); |
38 | 0 | } |
39 | |
|
40 | |
public NoSatisfiableMethodsException(Object component, List args, Exception cause) |
41 | |
{ |
42 | 0 | super(CoreMessages.noEntryPointFoundWithArgs(component, args), cause); |
43 | 0 | } |
44 | |
|
45 | |
public NoSatisfiableMethodsException(Object component, Class[] args) |
46 | |
{ |
47 | 2 | this(component, args, null); |
48 | 2 | } |
49 | |
|
50 | |
public NoSatisfiableMethodsException(Object component, String methodName) |
51 | |
{ |
52 | 0 | super(CoreMessages.noEntryPointFoundForNoArgsMethod(component, methodName)); |
53 | 0 | } |
54 | |
|
55 | |
public NoSatisfiableMethodsException(Object component, Class[] args, Exception cause) |
56 | |
{ |
57 | 2 | super(CoreMessages.noEntryPointFoundWithArgs(component, args), cause); |
58 | 2 | } |
59 | |
|
60 | |
public NoSatisfiableMethodsException(Object component, Class returnType) |
61 | |
{ |
62 | 4 | super(CoreMessages.noMatchingMethodsOnObjectReturning(component, returnType)); |
63 | 4 | } |
64 | |
|
65 | |
public NoSatisfiableMethodsException(Object component, Class returnType, Exception cause) |
66 | |
{ |
67 | 0 | super(CoreMessages.noMatchingMethodsOnObjectReturning(component, returnType), cause); |
68 | 0 | } |
69 | |
} |