Package com.sun.jna

Class LastErrorException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Win32Exception

public class LastErrorException extends RuntimeException
Exception representing a non-zero error code returned in either errno or GetLastError().
See Also:
  • Constructor Details

    • LastErrorException

      public LastErrorException(String msg)
    • LastErrorException

      public LastErrorException(int code)
    • LastErrorException

      protected LastErrorException(int code, String msg)
  • Method Details

    • getErrorCode

      public int getErrorCode()
      Returns:
      The reported error code