Does this still work as an exception? I guess it just inherits? I think it might make sense to give it a custom message, as it could be thrown to the test if the class is used differently.