edu.umd.cs.findbugs.ba.type

Class ExceptionObjectType

public class ExceptionObjectType extends ObjectType implements Constants, ExtendedTypes

Special ReferenceType representing the type of a caught exception. Keeps track of the entire set of exceptions that can be caught, and whether they are explicit or implicit.
Method Summary
static TypefromExceptionSet(ExceptionSet exceptionSet)
Initialize object from an exception set.
ExceptionSetgetExceptionSet()
Return the exception set.

Method Detail

fromExceptionSet

public static Type fromExceptionSet(ExceptionSet exceptionSet)
Initialize object from an exception set.

Parameters: exceptionSet the exception set

Returns: a Type that is a supertype of all of the exceptions in the exception set

getExceptionSet

public ExceptionSet getExceptionSet()
Return the exception set.

Returns: the ExceptionSet

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