Serializablepublic class Win32Exception extends LastErrorException
| Modifier | Constructor | Description |
|---|---|---|
|
Win32Exception(int code) |
New Win32 exception from an error code, usually obtained from
GetLastError. |
protected |
Win32Exception(int code,
WinNT.HRESULT hr) |
|
protected |
Win32Exception(int code,
WinNT.HRESULT hr,
String msg) |
|
|
Win32Exception(WinNT.HRESULT hr) |
New Win32 exception from HRESULT.
|
| Modifier and Type | Method | Description |
|---|---|---|
(package private) void |
addSuppressedReflected(Throwable exception) |
|
WinNT.HRESULT |
getHR() |
Returns the error code of the error.
|
getErrorCodeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic Win32Exception(int code)
GetLastError.code - Error code.public Win32Exception(WinNT.HRESULT hr)
hr - HRESULTprotected Win32Exception(int code,
WinNT.HRESULT hr)
protected Win32Exception(int code,
WinNT.HRESULT hr,
String msg)
public WinNT.HRESULT getHR()
void addSuppressedReflected(Throwable exception)