Unable to raise Java exceptions of derived types
------------------------------------------------

                 Key: JRUBY-1707
                 URL: http://jira.codehaus.org/browse/JRUBY-1707
             Project: JRuby
          Issue Type: Bug
          Components: Java Integration
    Affects Versions: JRuby 1.1b1
         Environment: Spring + tomcat 4 + jruby 1.1b.1
            Reporter: Matthew Kanwisher


Whenever you raise an exception in ruby of a java exception that isn't 
exception but is still derived from exception it fails.

Code:
raise IOException.new("test")

Error Message:

org.apache.bsf.BSFException: exception class/object expected
        at org.jruby.javasupport.bsf.JRubyEngine.call(JRubyEngine.java:125)



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to