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:
- Serializable
- Direct Known Subclasses:
- Win32Exception
Exception representing a non-zero error code returned in either
 
errno
 or GetLastError().- See Also:
- 
Constructor SummaryConstructorsModifierConstructorDescriptionLastErrorException(int code) protectedLastErrorException(int code, String msg) LastErrorException(String msg) 
- 
Method SummaryMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
LastErrorException
- 
LastErrorExceptionpublic LastErrorException(int code) 
- 
LastErrorException
 
- 
- 
Method Details- 
getErrorCodepublic int getErrorCode()- Returns:
- The reported error code
 
 
-