avoid relying on the implementation of SomeException