Do not use a cast in the Logback module

The IThrowableProxy may not be an instance of ThrowableProxy, this leads to ClassCastExceptions.
Instead, create an ExceptionInterface using only the IThrowableProxy interface
Fix the mock previously for ImmutableThrowable
Remove ImmutableThrowable
Remove unused variable