jparse
Interface HasExceptions

All Known Subinterfaces:
Constructor, Method
All Known Implementing Classes:
CompiledConstructor, CompiledMethod, ConstrAST, ExpressionAST, MethAST, StatementAST

public interface HasExceptions

An interface indicating that the object represents an exception-throwing Java entity

Author:
Jerry James

Method Summary
 Type[] getExceptionTypes()
          Returns an array of Type objects that represent the types of the checked exceptions that might be thrown by this Java entity.
 

Method Detail

getExceptionTypes

public Type[] getExceptionTypes()
Returns an array of Type objects that represent the types of the checked exceptions that might be thrown by this Java entity. If this Java entity throws no checked exceptions, then an array of length 0 is returned.

Returns:
an array of types representing the exceptions that this Java entity might throw