Fix NPE in classloader transforming if an exception is thrown with a null message

Signed-off-by: Ross Allan <rallanpcl@gmail.com>