Class WinpException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
NotWindowsException

public class WinpException extends RuntimeException
Indicates a problem in Winp.
Author:
Kohsuke Kawaguchi
See Also:
  • Constructor Details

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

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