Method getExceptionTypes()
Return type:
java.lang.Class
<Class<?>[]>[]
Member of:
java.lang.reflect.Method
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
return convertClasses(mth.getExceptionTypes());
2
Class exs[] = method.getExceptionTypes();
3
Class[] exceptions = method.getExceptionTypes();
4
Class[] exceptions = lastMethodCall.getMethod().getExceptionTypes();
5
exceptions = ( ( Method ) accessibleObject ).getExceptionTypes();
6
String[] eTypeNames = classNames(m.getExceptionTypes(), imports);
7
Class[] exceptions = originalMethod.getExceptionTypes();
8
realE = m.getExceptionTypes();
9
Class ex[] = methodArray[m].getExceptionTypes();
10
Class[] exceptionTypes = methods[i].getExceptionTypes();
11
Class[] exceptionTypes = new Class[method.getExceptionTypes().length];
12
return objectsToList(jmethod(f.vlr[0]).getExceptionTypes());
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.