Package org.htmlunit

# Class WebWindowNotFoundException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.htmlunit.WebWindowNotFoundException

All Implemented Interfaces:
  `Serializable`

public class WebWindowNotFoundException extends RuntimeException
Exception to indicate that no `WebWindow` could be found that matched a given name.

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `WebWindowNotFoundException(String name)`
  Creates an instance.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getName()`
  Returns the name of the `WebWindow` that wasn't found.

  ### Methods inherited from class java.lang.Throwable

  `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### WebWindowNotFoundException

    public WebWindowNotFoundException(String name)
    Creates an instance.
    Parameters:
      `name` - the name that was searched by

- ## Method Details

  - ### getName

    public String getName()
    Returns the name of the `WebWindow` that wasn't found.
    Returns:
      the name