final InvokeResult r = (InvokeResult)o;
String str = "---" + r.mObjectName.toString() + "---\n";
if ( r.mThrowable != null )
{
str = str + "EXCEPTION: " + r.mThrowable.toString();
}
else
{
if ( r.mResult == null )
{
// nothing to emit
}
else
{
final SmartStringifier s = new SmartStringifier( StringifierRegistry.DEFAULT, "\n", false );
str = str + s.stringify( r.mResult );
}
}
return( str );