|
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.platform.win32.Win32Exception
public class Win32Exception
Win32 exception.
| Constructor Summary | |
|---|---|
Win32Exception(int code)
New Win32 exception from an error code, usually obtained from GetLastError. |
|
Win32Exception(WinNT.HRESULT hr)
New Win32 exception from HRESULT. |
|
| Method Summary | |
|---|---|
WinNT.HRESULT |
getHR()
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 Win32Exception(WinNT.HRESULT hr)
hr - HRESULTpublic Win32Exception(int code)
code - Error code.| Method Detail |
|---|
public WinNT.HRESULT getHR()
|
JNA API> 3.5.2-SNAPSHOT | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||