public class AssetNotFoundException extends RuntimeException
| Constructor and Description |
|---|
AssetNotFoundException(String message) |
AssetNotFoundException(String message,
Resource resource)
Constructs an exception with message and a
Resource. |
| Modifier and Type | Method and Description |
|---|---|
Resource |
getResource()
The resource which wasn't found.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic AssetNotFoundException(String message)
public AssetNotFoundException(String message, Resource resource)
Resource.message - a String.resource - a Resource.public Resource getResource()
Resource.5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.