|
|||||||||
| 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.RuntimeException
org.codehaus.dimple.InvalidReturnTypeException
public class InvalidReturnTypeException
This exception indicates that a method is used to implement a target method but the return type is not compatible.
| Constructor Summary | |
|---|---|
InvalidReturnTypeException(java.lang.reflect.Method implementedMethod,
java.lang.reflect.Method implementingMethod)
Create an InvalidReturnTypeException instance. |
|
InvalidReturnTypeException(java.lang.reflect.Method implementedMethod,
java.lang.reflect.Method implementingMethod,
java.lang.String message)
Create an InvalidReturnTypeException instance. |
|
| Method Summary | |
|---|---|
java.lang.reflect.Method |
getImplementedMethod()
Get the method that we are trying to implement. |
java.lang.reflect.Method |
getImplementingMethod()
Get the method used to implement the target method. |
| 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 InvalidReturnTypeException(java.lang.reflect.Method implementedMethod,
java.lang.reflect.Method implementingMethod)
implementedMethod - the method that is being implemented.implementingMethod - the method used to implement the target method.
public InvalidReturnTypeException(java.lang.reflect.Method implementedMethod,
java.lang.reflect.Method implementingMethod,
java.lang.String message)
implementedMethod - the method that is being implemented.implementingMethod - the method used to implement the target method.message - the error message.| Method Detail |
|---|
public java.lang.reflect.Method getImplementedMethod()
public java.lang.reflect.Method getImplementingMethod()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||