Skip navigation links
JNA API 4.4.0
com.sun.jna.platform.win32

Class Win32Exception

    • Constructor Detail

      • Win32Exception

        public Win32Exception(int code)
        New Win32 exception from an error code, usually obtained from GetLastError.
        Parameters:
        code - Error code.
      • Win32Exception

        public Win32Exception(WinNT.HRESULT hr)
        New Win32 exception from HRESULT.
        Parameters:
        hr - HRESULT
      • Win32Exception

        protected Win32Exception(int code,
                                 WinNT.HRESULT hr)
    • Method Detail

      • getHR

        public WinNT.HRESULT getHR()
        Returns the error code of the error.
        Returns:
        HRESULT value
JNA API 4.4.0

Copyright © 2007-2016 Timothy Wall. All Rights Reserved.