Package com.teamdev.jxbrowser.navigation
Class NavigationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.teamdev.jxbrowser.navigation.NavigationException
- All Implemented Interfaces:
Serializable
Thrown when navigation to a resource has been failed.
- See Also:
-
Constructor Summary
ConstructorDescriptionNavigationException
(String message, NetError netError) Constructs aNavigationException
with the given detailmessage
andnetError
. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NavigationException
Constructs aNavigationException
with the given detailmessage
andnetError
.- Parameters:
message
- the detail messagenetError
- the network error code that describes the reason of the navigation failure
-
-
Method Details
-
netError
Returns the network error code that describes the reason of the navigation failure.
-