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
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 |
BlockNotFoundException
public BlockNotFoundException(String message,
Location location)
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.