|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 Exception| Method Detail |
|---|
public boolean isNormal()
InvocationResult
isNormal in interface InvocationResultpublic boolean isException()
InvocationResult
isException in interface InvocationResultpublic Object getResult()
InvocationResult
getResult in interface InvocationResultpublic Exception getException()
InvocationResult
getException in interface InvocationResult
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||