|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.cafesoft.core.exception.NestedException
|
+--com.cafesoft.core.util.MethodInvocationException
An exception that is thrown if errors occur invoking a method call dynamically upon an object
| Constructor Summary | |
MethodInvocationException()
Construct a new MethodInvocationException with no other information. |
|
MethodInvocationException(String message)
Construct a new MethodInvocationException for the specified message. |
|
MethodInvocationException(String message,
String methodName)
Construct a new MethodInvocationException for the specified message and method name. |
|
MethodInvocationException(String message,
String methodName,
Throwable cause)
Construct a new MethodInvocationException for the specified message and throwable. |
|
MethodInvocationException(String message,
Throwable cause)
Construct a new MethodInvocationException for the specified message and throwable. |
|
MethodInvocationException(Throwable cause)
Construct a new MethodInvocationException for the specified throwable. |
|
| Method Summary | |
String |
getMethodName()
Get the name of the method that caused the MethodInvocationException, if a name is available. |
| Methods inherited from class com.cafesoft.core.exception.NestedException |
getCause, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getStackTrace, initCause, setStackTrace |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public MethodInvocationException()
public MethodInvocationException(String message)
message - message describing this exception
public MethodInvocationException(String message,
String methodName)
message - message describing this exceptionmethodName - the name of the method being invoked.public MethodInvocationException(Throwable cause)
cause - Throwable that caused this exception
public MethodInvocationException(String message,
Throwable cause)
message - message describing this exceptioncause - Throwable that caused this exception
public MethodInvocationException(String message,
String methodName,
Throwable cause)
message - message describing this exception.methodName - the name of the method being invoked.cause - Throwable that caused this exception.| Method Detail |
public String getMethodName()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||