edu.umd.cs.findbugs.classfile

Class ResourceNotFoundException

public class ResourceNotFoundException extends CheckedAnalysisException

Exception to indicate that a resource was not found.

Author: David Hovemeyer

Field Summary
static StringMESSAGE_PREFIX
Constructor Summary
ResourceNotFoundException(String resourceName)
Constructor.
ResourceNotFoundException(String resourceName, Throwable cause)
Constructor.
Method Summary
StringgetResourceName()
Get the name of the resource that was not found.

Field Detail

MESSAGE_PREFIX

public static final String MESSAGE_PREFIX

Constructor Detail

ResourceNotFoundException

public ResourceNotFoundException(String resourceName)
Constructor.

Parameters: resourceName name of the missing resource

ResourceNotFoundException

public ResourceNotFoundException(String resourceName, Throwable cause)
Constructor.

Parameters: resourceName name of the missing resource cause underlying cause of the exception

Method Detail

getResourceName

public String getResourceName()
Get the name of the resource that was not found.

Returns: the name of the resource that was not found

FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.