Why following code:
/.../
.onFailure(exc ->
Match(exc).of(
Case($(instanceOf(ServerSOAPFaultException.class)), handleServerSOAPFaultException(exc)),
Case($(instanceOf(Exception.class)), handleDefaultException(exc))
))
.getOrElseGet(exc -> false);
invoke first case when exception is RuntimeException. RuntimeException is not an instance of ServerSOAPFaultException.