MissingClassException
public class ResourceNotFoundException extends CheckedAnalysisException
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
MESSAGE_PREFIX |
Constructor | Description |
---|---|
ResourceNotFoundException(java.lang.String resourceName) |
Constructor.
|
ResourceNotFoundException(java.lang.String resourceName,
java.lang.Throwable cause) |
Constructor.
|
Modifier and Type | Method | 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()
SpotBugs is licensed under the LGPL.