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
public class LastErrorException
- extends RuntimeException
Exception representing a non-zero error code returned in either
errno
or GetLastError()
.
- See Also:
- Serialized Form
Method Summary |
int |
getErrorCode()
Returns the error code of the error. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
LastErrorException
public LastErrorException(String msg)
LastErrorException
public LastErrorException(int code)
getErrorCode
public int getErrorCode()
- Returns the error code of the error.
- Returns:
- Error code.
Copyright © 2007-2010 Timothy Wall. All Rights Reserved.