Methods Summary |
---|
public java.lang.Throwable | getException()
Throwable t = null;
if (hasException())
{
Param param = response.getParam(AdminConstants.EXCEPTION);
t = (Throwable)param.mValue;
}
return t;
|
public java.lang.Object | getReturnValue()
Object returnValue = null;
Param param = response.getParam(AdminConstants.RETURN_VALUE);
if (param != null)
{
returnValue = (Object)param.mValue;
}
return returnValue;
|
public boolean | hasException()
Param param = response.getParam(AdminConstants.EXCEPTION);
if (param != null)
{
return (param.mValue != null);
}
return false;
|
public void | setException(java.lang.Throwable t)
//ArgChecker.check(t); Do we need this check?
response.addParam(new Param(AdminConstants.EXCEPTION, t));
|
public void | setReturnValue(java.io.Serializable value)
response.addParam(new Param(AdminConstants.RETURN_VALUE, value));
|