1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
package org.mule.model.resolvers; |
8 | |
|
9 | |
import org.mule.api.MuleException; |
10 | |
import org.mule.config.i18n.CoreMessages; |
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
|
17 | |
|
18 | |
|
19 | |
public class NoSatisfiableMethodsException extends MuleException |
20 | |
{ |
21 | |
|
22 | |
private static final long serialVersionUID = -4703387041767867189L; |
23 | |
|
24 | |
|
25 | |
public NoSatisfiableMethodsException(Object component, String methodName) |
26 | |
{ |
27 | 0 | super(CoreMessages.noEntryPointFoundForNoArgsMethod(component, methodName)); |
28 | 0 | } |
29 | |
|
30 | |
public NoSatisfiableMethodsException(Object component, Class<?>[] args) |
31 | |
{ |
32 | 0 | super(CoreMessages.noEntryPointFoundWithArgs(component, args)); |
33 | 0 | } |
34 | |
|
35 | |
public NoSatisfiableMethodsException(Object component, Class<?> returnType) |
36 | |
{ |
37 | 0 | super(CoreMessages.noMatchingMethodsOnObjectReturning(component, returnType)); |
38 | 0 | } |
39 | |
} |