Class WinpException

    • Constructor Detail

      • WinpException

        public WinpException()
      • WinpException

        public WinpException​(String message)
      • WinpException

        public WinpException​(String message,
                             Throwable cause)
      • WinpException

        public WinpException​(Throwable cause)
      • WinpException

        public WinpException​(String message,
                             int lastError,
                             String file,
                             int line)
        Used by JNI to report an error.
    • Method Detail

      • getWin32ErrorCode

        public int getWin32ErrorCode()
        Win32 error code, if this error originated in a failed Win32 API call.
        Returns:
        -1 if the exception was not due to the failed Win32 API call.