win32::registry exceptions are uncaught
---------------------------------------

                 Key: JRUBY-6028
                 URL: https://jira.codehaus.org/browse/JRUBY-6028
             Project: JRuby
          Issue Type: Bug
          Components: Windows
         Environment: jruby 1.7.0.dev (ruby-1.8.7-p330) (2011-07-13 f4cb039) 
(Java HotSpot(TM) Client VM 1.6.0_24) [Windows 7-x86-java]
            Reporter: Roger Pack


require 'win32/registry'

Win32::Registry::HKEY_CURRENT_USER.create("Software\\os_screen_capture")['nonexist']


should raise an exception telling you the line number that failed.
Instead just outputs Win32::Registry::Error: The system cannot find the file 
specified.

Cheers!
-roger-

--
This message is automatically generated by JIRA.
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