Package com.sun.jna.platform.win32
Class Rasapi32Util.Ras32Exception
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sun.jna.platform.win32.Rasapi32Util.Ras32Exception
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Rasapi32Util
Exceptions
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRas32Exception
(int code) New Win32 exception from an error code, usually obtained from GetLastError. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
Ras32Exception
public Ras32Exception(int code) New Win32 exception from an error code, usually obtained from GetLastError.- Parameters:
code
- Error code.
-
-
Method Details
-
getCode
public int getCode()Returns the error code of the error.- Returns:
- Error code.
-