public class JavaThrownExceptionInfo extends java.lang.Object implements ThrownExceptionInfo
Constructor and Description |
---|
JavaThrownExceptionInfo() |
JavaThrownExceptionInfo(int oldIndex) |
JavaThrownExceptionInfo(int oldIndex,
PsiClassType type) |
Modifier and Type | Method and Description |
---|---|
PsiType |
createType(PsiElement context,
PsiManager manager) |
static ThrownExceptionInfo[] |
extractExceptions(PsiMethod method) |
int |
getOldIndex() |
void |
setType(PsiClassType type) |
void |
updateFromMethod(PsiMethod method) |
public JavaThrownExceptionInfo()
public JavaThrownExceptionInfo(int oldIndex)
public JavaThrownExceptionInfo(int oldIndex, PsiClassType type)
public static ThrownExceptionInfo[] extractExceptions(PsiMethod method)
public void setType(PsiClassType type)
setType
in interface ThrownExceptionInfo
public PsiType createType(PsiElement context, PsiManager manager) throws IncorrectOperationException
createType
in interface ThrownExceptionInfo
IncorrectOperationException
public void updateFromMethod(PsiMethod method)
updateFromMethod
in interface ThrownExceptionInfo
public int getOldIndex()
getOldIndex
in interface ThrownExceptionInfo