Package com.sun.jna
Class LastErrorException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.sun.jna.LastErrorException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
Win32Exception
public class LastErrorException extends java.lang.RuntimeException
Exception representing a non-zero error code returned in eithererrno
orGetLastError()
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description LastErrorException(int code)
protected
LastErrorException(int code, java.lang.String msg)
LastErrorException(java.lang.String msg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getErrorCode()
-