com.intellij.psi
Interface PsiCodeFragment.ExceptionHandler

Enclosing interface:
PsiCodeFragment

public static interface PsiCodeFragment.ExceptionHandler

Interface used to determine which exceptions are considered handled in the context where the fragment is used.


Method Summary
 boolean isHandledException(PsiClassType exceptionType)
          Checks if the specified exception is considered handled in the context where the fragment is used.
 

Method Detail

isHandledException

boolean isHandledException(PsiClassType exceptionType)
Checks if the specified exception is considered handled in the context where the fragment is used.

Parameters:
exceptionType - the type of the exception to check.
Returns:
true if the exception is handled, false otherwise.