|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.NoSuchMethodException
org.jboss.util.NoSuchMethodException
A better NoSuchMethodException which can take a Method object and formats the detail message based on in.
| Constructor Summary | |
NoSuchMethodException()
Construct a NoSuchMethodException with no detail. |
|
NoSuchMethodException(Method method)
Construct a NoSuchMethodException using the given method object to construct the detail message. |
|
NoSuchMethodException(String msg)
Construct a NoSuchMethodException with the specified detail message. |
|
NoSuchMethodException(String msg,
Method method)
Construct a NoSuchMethodException using the given method object to construct the detail message. |
|
| Method Summary | |
static String |
format(Method method)
Return a string representation of the given method object. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public NoSuchMethodException(String msg)
msg - Detail message.public NoSuchMethodException(Method method)
method - Method to determine detail message from.public NoSuchMethodException(String msg, Method method)
msg - Detail message prefix.method - Method to determine detail message suffix from.public NoSuchMethodException()
| Method Detail |
public static String format(Method method)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||