Ok I implemented like this:
```ruby
    class BadURI < RuntimeError
      def initialize(message)
        super(message)
      end
    end
```
Additional test added as well.