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:
java.io.Serializable
public class AssetNotFoundException extends java.lang.RuntimeException
Class that represents the exception of an asset not being found.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AssetNotFoundException(java.lang.String message)
AssetNotFoundException(java.lang.String message, Resource resource)
Constructs an exception with message and aResource
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Resource
getResource()
The resource which wasn't found.
-
-
-
Constructor Detail
-
AssetNotFoundException
public AssetNotFoundException(java.lang.String message)
-
AssetNotFoundException
public AssetNotFoundException(java.lang.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
.
-
-