Update type of exception from Exception to Throwable.

In some rare cases method formatElement can throw
Error when findClass(name) is called. This type of
exceptions are not catched by try\catch block and
it leads to situation when attempt to log original
failure breaks execution and hides real problem (and
even cause process to fail).