Package org.apache.tapestry5.services
Class AssetNotFoundException
- java.lang.Object
 - 
- java.lang.Throwable
 - 
- java.lang.Exception
 - 
- java.lang.RuntimeException
 - 
- org.apache.tapestry5.services.AssetNotFoundException
 
 
 
 
 
- 
- All Implemented Interfaces:
 Serializable
public class AssetNotFoundException extends RuntimeException
Class that represents the exception of an asset not being found.- See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description AssetNotFoundException(String message)AssetNotFoundException(String message, Resource resource)Constructs an exception with message and aResource. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourcegetResource()The resource which wasn't found.- 
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
AssetNotFoundException
public AssetNotFoundException(String message)
 
- 
AssetNotFoundException
public AssetNotFoundException(String message, Resource resource)
Constructs an exception with message and aResource.- Parameters:
 message- aString.resource- aResource.
 
 - 
 
- 
Method Detail
- 
getResource
public Resource getResource()
The resource which wasn't found. It may be null.- Returns:
 - a 
Resource. 
 
 - 
 
 -