Searched refs:exceptions (Results 1 - 12 of 12) sorted by relevance

/dalvik/dx/src/com/android/dx/cf/attrib/
H A DAttExceptions.java30 private final TypeList exceptions; field in class:AttExceptions
35 * @param exceptions non-null; list of classes, presumed but not
38 public AttExceptions(TypeList exceptions) { argument
42 if (exceptions.isMutable()) {
43 throw new MutabilityException("exceptions.isMutable()");
47 throw new NullPointerException("exceptions == null");
50 this.exceptions = exceptions;
55 return 8 + exceptions.size() * 2;
66 return exceptions;
[all...]
/dalvik/dx/src/com/android/dx/rop/code/
H A DRop.java65 private final TypeList exceptions; field in class:Rop
87 * @param exceptions non-null; list of possible types thrown by this
95 TypeList exceptions, int branchingness, boolean isCallLike,
105 if (exceptions == null) {
106 throw new NullPointerException("exceptions == null");
113 if ((exceptions.size() != 0) && (branchingness != BRANCH_THROW)) {
114 throw new IllegalArgumentException("exceptions / branchingness " +
121 this.exceptions = exceptions;
135 * @param exceptions no
94 Rop(int opcode, Type result, TypeList sources, TypeList exceptions, int branchingness, boolean isCallLike, String nickname) argument
141 Rop(int opcode, Type result, TypeList sources, TypeList exceptions, int branchingness, String nickname) argument
194 Rop(int opcode, Type result, TypeList sources, TypeList exceptions, String nickname) argument
210 Rop(int opcode, TypeList sources, TypeList exceptions) argument
[all...]
/dalvik/libcore/security/src/test/java/org/apache/harmony/security/tests/java/security/
H A DPrivilegedExceptionActionTest.java65 Exception[] exceptions = {new NullPointerException(), new IOException(), null};
66 for (int i = 0; i < exceptions.length; i++) {
67 Exception exception = exceptions[i];
H A DKeyFactoryTest.java75 Class[] exceptions = {
87 checkException(message, e, exceptions[i]);
89 checkException(message, null, exceptions[i]);
120 Class[] exceptions = {
136 checkException(message, e, exceptions[i]);
138 checkException(message, null, exceptions[i]);
171 Class[] exceptions = {
189 checkException(message, e, exceptions[i]);
191 checkException(message, null, exceptions[i]);
229 Class[] exceptions
[all...]
/dalvik/dx/src/com/android/dx/dex/cf/
H A DAttributeTranslator.java65 * Gets the list of thrown exceptions for a given method.
68 * @return non-null; the list of thrown exceptions
72 AttExceptions exceptions = (AttExceptions)
75 if (exceptions == null) {
79 return exceptions.getExceptions();
158 TypeList exceptions = getExceptions(method);
160 if (exceptions.size() != 0) {
162 AnnotationUtils.makeThrows(exceptions);
H A DCfTranslator.java315 TypeList exceptions = AttributeTranslator.getExceptions(one);
317 new EncodedMethod(meth, accessFlags, code, exceptions);
/dalvik/libcore/xml/src/main/java/org/xml/sax/helpers/
H A DParserAdapter.java485 // These are exceptions from the
489 Vector exceptions = null;
582 if (exceptions == null)
583 exceptions = new Vector();
584 exceptions.addElement(e);
590 if (exceptions != null && errorHandler != null) {
591 for (int i = 0; i < exceptions.size(); i++)
593 (exceptions.elementAt(i)));
/dalvik/libcore/luni/src/test/java/tests/api/java/lang/reflect/
H A DConstructorTest.java288 Class[] exceptions = null;
293 exceptions = ctor.getExceptionTypes();
299 1, exceptions.length);
300 assertTrue("Returned incorrect exception", exceptions[0].equals(ex));
/dalvik/tests/046-reflect/src/
H A DMain.java12 Class[] params, exceptions;
21 exceptions = meth.getExceptionTypes();
22 for (i = 0; i < exceptions.length; i++)
23 System.out.println(" Exc " + i + ": " + exceptions[i].getName());
/dalvik/vm/reflect/
H A DReflect.c513 ArrayObject* exceptions = NULL; local
544 exceptions = dvmGetMethodThrows(meth);
552 consObj, &unused, meth->clazz, params, exceptions, slot); local
563 dvmReleaseTrackedAlloc((Object*) exceptions, NULL);
657 ArrayObject* exceptions = NULL; local
698 exceptions = dvmGetMethodThrows(meth);
711 methObj, &unused, meth->clazz, params, exceptions, returnType, local
727 dvmReleaseTrackedAlloc((Object*) exceptions, NULL);
/dalvik/dx/src/com/android/dx/cf/direct/
H A DStdAttributeFactory.java147 return exceptions(cf, offset, length, observer);
379 private Attribute exceptions(DirectClassFile cf, int offset, int length, method in class:StdAttributeFactory
/dalvik/vm/oo/
H A DClass.c1264 * exceptions being thrown, because the ClassLoader.loadClass()
1960 free(meth->exceptions);
1979 assert(dst->exceptions == NULL);

Completed in 535 milliseconds