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 aBlock
is requested but not found.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BlockNotFoundException(String message, Location location)
-
Method Summary
All Methods Instance Methods Concrete Methods 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
-
-
-
-
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 interfaceLocatable
-
-