you should verofy the error to make sure it's the one you raised. A RuntimeError could be thrown by the implementation.