Class NavigationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.teamdev.jxbrowser.navigation.NavigationException
All Implemented Interfaces:
Serializable

public final class NavigationException extends RuntimeException
Thrown when navigation to a resource has been failed.
See Also:
  • Constructor Details

    • NavigationException

      public NavigationException(String message, NetError netError)
      Constructs a NavigationException with the given detail message and netError.
      Parameters:
      message - the detail message
      netError - the network error code that describes the reason of the navigation failure
  • Method Details

    • netError

      public NetError netError()
      Returns the network error code that describes the reason of the navigation failure.