Class VpnException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.codename1.vpn.VpnException
Thrown through the failure path of every
AsyncResource returned by the
com.codename1.vpn APIs. getError() returns a typed VpnError so
callers react without string-matching the message.-
Constructor Summary
ConstructorsConstructorDescriptionVpnException(VpnError error) VpnException(VpnError error, String message) VpnException(VpnError error, String message, Throwable cause) -
Method Summary
Methods inherited from class Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
VpnException
-
VpnException
-
VpnException
-
-
Method Details
-
getError
Typed error code describing the failure. Nevernull.
-