public class ResourceNotFoundException extends CheckedAnalysisException
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MESSAGE_PREFIX |
Constructor and Description |
---|
ResourceNotFoundException(java.lang.String resourceName)
Constructor.
|
ResourceNotFoundException(java.lang.String resourceName,
java.lang.Throwable cause)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getResourceName()
Get the name of the resource that was not found.
|
java.lang.ClassNotFoundException |
toClassNotFoundException()
Convert this exception to a ClassNotFoundException.
|
public static final java.lang.String MESSAGE_PREFIX
public ResourceNotFoundException(java.lang.String resourceName)
resourceName
- name of the missing resourcepublic ResourceNotFoundException(java.lang.String resourceName, java.lang.Throwable cause)
resourceName
- name of the missing resourcecause
- underlying cause of the exceptionpublic java.lang.String getResourceName()
public java.lang.ClassNotFoundException toClassNotFoundException()
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.