A DocString object cannot be raised as en exception in JRuby