Package org.apache.tapestry5

# Class BlockNotFoundException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.tapestry5.BlockNotFoundException

All Implemented Interfaces:
  `Serializable`, `Locatable`

public class BlockNotFoundException extends RuntimeException implements Locatable
Exception thrown when a `Block` is requested but not found.

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `BlockNotFoundException(String message, Location location)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Location`
  `getLocation()`
  Returns the location associated with this object for error reporting purposes.

  ### 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

  - ### BlockNotFoundException

    public BlockNotFoundException(String message, Location location)

- ## Method Details

  - ### getLocation

    public Location getLocation()
    Description copied from interface: `Locatable`
    Returns the location associated with this object for error reporting purposes.
    Specified by:
      `getLocation` in interface `Locatable`