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 this(component, args, null);
38 }
39
40 public NoSatisfiableMethodsException(Object component, List args, Exception cause)
41 {
42 super(CoreMessages.noEntryPointFoundWithArgs(component, args), cause);
43 }
44
45 public NoSatisfiableMethodsException(Object component, Class[] args)
46 {
47 this(component, args, null);
48 }
49
50 public NoSatisfiableMethodsException(Object component, String methodName)
51 {
52 super(CoreMessages.noEntryPointFoundForNoArgsMethod(component, methodName));
53 }
54
55 public NoSatisfiableMethodsException(Object component, Class[] args, Exception cause)
56 {
57 super(CoreMessages.noEntryPointFoundWithArgs(component, args), cause);
58 }
59
60 public NoSatisfiableMethodsException(Object component, Class returnType)
61 {
62 super(CoreMessages.noMatchingMethodsOnObjectReturning(component, returnType));
63 }
64
65 public NoSatisfiableMethodsException(Object component, Class returnType, Exception cause)
66 {
67 super(CoreMessages.noMatchingMethodsOnObjectReturning(component, returnType), cause);
68 }
69 }