KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mule > model > NoSatisfiableMethodsException


1 /*
2  * $Id: NoSatisfiableMethodsException.java 3798 2006-11-04 04:07:14Z aperepel $
3  * --------------------------------------------------------------------------------------
4  * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com
5  *
6  * The software in this package is published under the terms of the MuleSource MPL
7  * license, a copy of which has been included with this distribution in the
8  * LICENSE.txt file.
9  */

10
11 package org.mule.model;
12
13 import org.mule.config.i18n.Message;
14 import org.mule.config.i18n.Messages;
15 import org.mule.umo.model.ModelException;
16 import org.mule.util.StringMessageUtils;
17
18 /**
19  * <code>NoSatisfiableMethodsException</code> is thrown by EntryPointResolvers when
20  * the component passed has no methods that meet the criteria of the configured
21  * EntryPointResolver.
22  *
23  * @see org.mule.umo.model.UMOEntryPointResolver
24  */

25 public class NoSatisfiableMethodsException extends ModelException
26 {
27     /**
28      * Serial version
29      */

30     private static final long serialVersionUID = -4703387041767867189L;
31
32     /**
33      * @param component
34      */

35     public NoSatisfiableMethodsException(Object JavaDoc component, Object JavaDoc args)
36     {
37         this(component, args, null);
38     }
39
40     public NoSatisfiableMethodsException(Object JavaDoc component, Object JavaDoc args, Exception JavaDoc cause)
41     {
42         super(new Message(Messages.NO_ENTRY_POINT_FOUND_ON_X_WITH_ARGS_X,
43             StringMessageUtils.toString(component), StringMessageUtils.toString(args)), cause);
44     }
45
46 }
47
Popular Tags