git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5051 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Andrew Hind
2007-02-06 14:38:48 +00:00
parent 72af87e9c0
commit 93ec1a0552

View File

@@ -207,7 +207,14 @@ public class HibernateAuditDAO extends HibernateDaoSupport implements AuditDAO,
}
else
{
return o.toString();
try
{
return o.toString();
}
catch(Throwable t)
{
return "Throwable in toString implementation for "+o.getClass() + " was "+t.getMessage();
}
}
}