org.apache.tapestry5
Class BlockNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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
BlockNotFoundException(String message, Location location)
           
 
Method Summary
 Location getLocation()
          Returns the location associated with this object for error reporting purposes.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BlockNotFoundException

public BlockNotFoundException(String message,
                              Location location)
Method Detail

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


Copyright © 2003-2012 The Apache Software Foundation.