Masquerading of native Java exceptions
--------------------------------------

                 Key: JRUBY-1300
                 URL: http://jira.codehaus.org/browse/JRUBY-1300
             Project: JRuby
          Issue Type: Bug
          Components: Java Integration
    Affects Versions: JRuby 1.0.0
         Environment: Windows Java /1.6
            Reporter: Jani
         Attachments: TestCode.zip

Some Java frameworks define a standard handling for exceptions. In some 
situations this will be broken by using JRuby. 

For instance a Framework could define a Java callback handler interface. This 
call back handler interface can be implemented by a JRuby class. If the 
framework implements a specific handling by catching specific exception, the 
contract between handler and framework fails. Java exceptions, which will be 
thrown (indirectly) by the handler are nested into a JRuby 
org.jruby.exceptions.RaiseException by the JRuby runtime. Instead of catching 
the native Java exception the framework will catch a JRuby exception. 



-- 
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