Closed arjantijms closed 2 years ago
AuthException originates from the ancient time in Java when the cause wasn't universally set on an exception.
Currently verbose looking code is needed to set this:
throw (AuthException) new AuthException().initCause(e);
We should add two constructor variants that take a cause object, so we can just do:
throw new AuthException(e);
AuthException originates from the ancient time in Java when the cause wasn't universally set on an exception.
Currently verbose looking code is needed to set this:
We should add two constructor variants that take a cause object, so we can just do: