|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.geronimo.interceptor.SimpleInvocationResult
public class SimpleInvocationResult
Constructor Summary | |
---|---|
SimpleInvocationResult(boolean normal,
Object result)
Create a object representing the normal result of an Invocation |
Method Summary | |
---|---|
Exception |
getException()
Get the application exception raised by the invocation. |
Object |
getResult()
Get the return value from the invocation. |
boolean |
isException()
Was an application exception raised by the invocation? |
boolean |
isNormal()
Was this a normal completion (return)? |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleInvocationResult(boolean normal, Object result)
normal
- true if the target returned; false if it threw an application Exceptionresult
- the result or ExceptionMethod Detail |
---|
public boolean isNormal()
InvocationResult
isNormal
in interface InvocationResult
public boolean isException()
InvocationResult
isException
in interface InvocationResult
public Object getResult()
InvocationResult
getResult
in interface InvocationResult
public Exception getException()
InvocationResult
getException
in interface InvocationResult
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |