if (throwable != null)
{
return throwable.toString();
}
if( result != null )
{
try
{
if( editor != null )
{
editor.setValue(result);
return editor.getAsText();
}
else
{
return result.toString();
}
}
catch (Exception e)
{
return "String representation of " + name + "unavailable";
} // end of try-catch
}
return null;