Home
last modified time | relevance | path

Searched refs:exceptions (Results 1 – 17 of 17) sorted by relevance

/dalvik/dx/src/com/android/dx/cf/attrib/
DAttExceptions.java30 private final TypeList exceptions; field in AttExceptions
38 public AttExceptions(TypeList exceptions) { in AttExceptions() argument
42 if (exceptions.isMutable()) { in AttExceptions()
50 this.exceptions = exceptions; in AttExceptions()
55 return 8 + exceptions.size() * 2; in byteLength()
66 return exceptions; in getExceptions()
/dalvik/dx/src/com/android/dx/rop/code/
DRop.java65 private final TypeList exceptions; field in Rop
95 TypeList exceptions, int branchingness, boolean isCallLike, in Rop() argument
105 if (exceptions == null) { in Rop()
113 if ((exceptions.size() != 0) && (branchingness != BRANCH_THROW)) { in Rop()
121 this.exceptions = exceptions; in Rop()
142 TypeList exceptions, int branchingness, String nickname) { in Rop() argument
143 this(opcode, result, sources, exceptions, branchingness, false, in Rop()
194 public Rop(int opcode, Type result, TypeList sources, TypeList exceptions, in Rop() argument
196 this(opcode, result, sources, exceptions, Rop.BRANCH_THROW, false, in Rop()
210 public Rop(int opcode, TypeList sources, TypeList exceptions) { in Rop() argument
[all …]
/dalvik/libcore/security/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyFactoryTest.java75 Class[] exceptions = { in testGetInstanceString() local
87 checkException(message, e, exceptions[i]); in testGetInstanceString()
89 checkException(message, null, exceptions[i]); in testGetInstanceString()
120 Class[] exceptions = { in testGetInstanceStringString() local
136 checkException(message, e, exceptions[i]); in testGetInstanceStringString()
138 checkException(message, null, exceptions[i]); in testGetInstanceStringString()
171 Class[] exceptions = { in testGetInstanceStringProvider() local
189 checkException(message, e, exceptions[i]); in testGetInstanceStringProvider()
191 checkException(message, null, exceptions[i]); in testGetInstanceStringProvider()
229 Class[] exceptions = { in testGeneratePublic() local
[all …]
DPrivilegedExceptionActionTest.java65 Exception[] exceptions = {new NullPointerException(), new IOException(), null}; in testRun() local
66 for (int i = 0; i < exceptions.length; i++) { in testRun()
67 Exception exception = exceptions[i]; in testRun()
/dalvik/tests/059-finalizer-throw/
Dinfo.txt1 Verify that exceptions thrown from finalizers are ignored.
/dalvik/dx/src/com/android/dx/dex/cf/
DAttributeTranslator.java72 AttExceptions exceptions = (AttExceptions) in getExceptions() local
75 if (exceptions == null) { in getExceptions()
79 return exceptions.getExceptions(); in getExceptions()
158 TypeList exceptions = getExceptions(method); in getMethodAnnotations() local
160 if (exceptions.size() != 0) { in getMethodAnnotations()
162 AnnotationUtils.makeThrows(exceptions); in getMethodAnnotations()
DCfTranslator.java315 TypeList exceptions = AttributeTranslator.getExceptions(one); in processMethods() local
317 new EncodedMethod(meth, accessFlags, code, exceptions); in processMethods()
/dalvik/libcore/xml/src/main/java/org/xml/sax/helpers/
DParserAdapter.java487 Vector exceptions = null; in startElement() local
580 if (exceptions == null) in startElement()
581 exceptions = new Vector(); in startElement()
582 exceptions.addElement(e); in startElement()
588 if (exceptions != null && errorHandler != null) { in startElement()
589 for (int i = 0; i < exceptions.size(); i++) in startElement()
591 (exceptions.elementAt(i))); in startElement()
/dalvik/dx/tests/081-dex-throws-list/
Dinfo.txt2 throws lists (that is, list of declared exceptions on methods) get
/dalvik/tests/064-field-access/
Dinfo.txt1 The documentation lists exceptional conditions and the exceptions that
/dalvik/vm/reflect/
DReflect.c513 ArrayObject* exceptions = NULL; in createConstructorObject() local
544 exceptions = dvmGetMethodThrows(meth); in createConstructorObject()
552 consObj, &unused, meth->clazz, params, exceptions, slot); in createConstructorObject()
563 dvmReleaseTrackedAlloc((Object*) exceptions, NULL); in createConstructorObject()
657 ArrayObject* exceptions = NULL; in dvmCreateReflectMethodObject() local
698 exceptions = dvmGetMethodThrows(meth); in dvmCreateReflectMethodObject()
711 methObj, &unused, meth->clazz, params, exceptions, returnType, in dvmCreateReflectMethodObject()
727 dvmReleaseTrackedAlloc((Object*) exceptions, NULL); in dvmCreateReflectMethodObject()
/dalvik/libcore/luni/src/test/java/tests/api/java/lang/reflect/
DConstructorTest.java292 Class[] exceptions = null; in test_getExceptionTypes() local
297 exceptions = ctor.getExceptionTypes(); in test_getExceptionTypes()
303 1, exceptions.length); in test_getExceptionTypes()
304 assertTrue("Returned incorrect exception", exceptions[0].equals(ex)); in test_getExceptionTypes()
/dalvik/tests/046-reflect/src/
DMain.java12 Class[] params, exceptions; in printMethodInfo() local
21 exceptions = meth.getExceptionTypes(); in printMethodInfo()
22 for (i = 0; i < exceptions.length; i++) in printMethodInfo()
23 System.out.println(" Exc " + i + ": " + exceptions[i].getName()); in printMethodInfo()
/dalvik/dx/src/com/android/dx/cf/direct/
DStdAttributeFactory.java147 return exceptions(cf, offset, length, observer); in parse0()
379 private Attribute exceptions(DirectClassFile cf, int offset, int length, in exceptions() method in StdAttributeFactory
/dalvik/libcore/security/src/main/java/org/bouncycastle/x509/
DCertPathReviewerMessages_de.properties2 ## constructor exceptions
401 ## check CRL exceptions
DCertPathReviewerMessages.properties2 ## constructor exceptions
401 ## check CRL exceptions
/dalvik/vm/oo/
DClass.c2021 free(meth->exceptions); in freeMethodInnards()