Package org.jboss.util
Class NoSuchMethodException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.ReflectiveOperationException
-
- java.lang.NoSuchMethodException
-
- org.jboss.util.NoSuchMethodException
-
- All Implemented Interfaces:
java.io.Serializable
public class NoSuchMethodException extends java.lang.NoSuchMethodExceptionA better NoSuchMethodException which can take a Method object and formats the detail message based on in.- Version:
- $Revision$
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUIDThe serialVersionUID
-
Constructor Summary
Constructors Constructor Description NoSuchMethodException()Construct a NoSuchMethodException with no detail.NoSuchMethodException(java.lang.reflect.Method method)Construct a NoSuchMethodException using the given method object to construct the detail message.NoSuchMethodException(java.lang.String msg)Construct a NoSuchMethodException with the specified detail message.NoSuchMethodException(java.lang.String msg, java.lang.reflect.Method method)Construct a NoSuchMethodException using the given method object to construct the detail message.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.Stringformat(java.lang.reflect.Method method)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
The serialVersionUID- See Also:
- Constant Field Values
-
-
Constructor Detail
-
NoSuchMethodException
public NoSuchMethodException(java.lang.String msg)
Construct a NoSuchMethodException with the specified detail message.- Parameters:
msg- Detail message.
-
NoSuchMethodException
public NoSuchMethodException(java.lang.reflect.Method method)
Construct a NoSuchMethodException using the given method object to construct the detail message.- Parameters:
method- Method to determine detail message from.
-
NoSuchMethodException
public NoSuchMethodException(java.lang.String msg, java.lang.reflect.Method method)Construct a NoSuchMethodException using the given method object to construct the detail message.- Parameters:
msg- Detail message prefix.method- Method to determine detail message suffix from.
-
NoSuchMethodException
public NoSuchMethodException()
Construct a NoSuchMethodException with no detail.
-
-