sakaiproject/nakamura — pull request #779 by mrvisser (2012-05-08 18:39:57+00:00)
Title: KERN-2831 Use Object.toString() instead of cast in order to convert the ...

...data-type to String. It appears sometimes it can be a LongString -- likely if the content is super long.

Also committing a couple exception handling touch-ups I had to do to learn what the problem was.