|
JNA API> 3.5.2-SNAPSHOT | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sun.jna.LastErrorException
public class LastErrorException
Exception representing a non-zero error code returned in either
errno
or GetLastError().
| Constructor Summary | |
|---|---|
LastErrorException(int code)
|
|
LastErrorException(java.lang.String msg)
|
|
| 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LastErrorException(java.lang.String msg)
public LastErrorException(int code)
| Method Detail |
|---|
public int getErrorCode()
|
JNA API> 3.5.2-SNAPSHOT | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||