public class ResourceNotFoundException extends CheckedAnalysisException
| Modifier and Type | Field and Description |
|---|---|
static String |
MESSAGE_PREFIX |
| Constructor and Description |
|---|
ResourceNotFoundException(String resourceName)
Constructor.
|
ResourceNotFoundException(String resourceName,
Throwable cause)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getResourceName()
Get the name of the resource that was not found.
|
ClassNotFoundException |
toClassNotFoundException()
Convert this exception to a ClassNotFoundException.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final String MESSAGE_PREFIX
public ResourceNotFoundException(String resourceName)
resourceName - name of the missing resourcepublic String getResourceName()
public ClassNotFoundException toClassNotFoundException()
Copyright © 2003–2015. All rights reserved.