Convenience methods for testing exception-based code
