/libcore/xml/src/main/java/org/xmlpull/v1/ |
D | XmlPullParserFactory.java | 140 ArrayList<Exception> exceptions = null; in getParserInstance() local 143 exceptions = new ArrayList<Exception>(); in getParserInstance() 151 exceptions.add(e); in getParserInstance() 153 exceptions.add(e); in getParserInstance() 155 exceptions.add(e); in getParserInstance() 160 throw newInstantiationException("Invalid parser class list", exceptions); in getParserInstance() 164 ArrayList<Exception> exceptions = null; in getSerializerInstance() local 167 exceptions = new ArrayList<Exception>(); in getSerializerInstance() 175 exceptions.add(e); in getSerializerInstance() 177 exceptions.add(e); in getSerializerInstance() [all …]
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | KeyFactoryTest.java | 65 Class[] exceptions = { in testGetInstanceString() local 77 checkException(message, e, exceptions[i]); in testGetInstanceString() 79 checkException(message, null, exceptions[i]); in testGetInstanceString() 105 Class[] exceptions = { in testGetInstanceStringString() local 121 checkException(message, e, exceptions[i]); in testGetInstanceStringString() 123 checkException(message, null, exceptions[i]); in testGetInstanceStringString() 151 Class[] exceptions = { in testGetInstanceStringProvider() local 169 checkException(message, e, exceptions[i]); in testGetInstanceStringProvider() 171 checkException(message, null, exceptions[i]); in testGetInstanceStringProvider() 204 Class[] exceptions = { in testGeneratePublic() local [all …]
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | ConstructorTest.java | 27 Class[] exceptions = constructor.getExceptionTypes(); in test_getExceptionTypes() local 28 assertEquals(1, exceptions.length); in test_getExceptionTypes() 29 assertEquals(IndexOutOfBoundsException.class, exceptions[0]); in test_getExceptionTypes() 31 exceptions[0] = NullPointerException.class; in test_getExceptionTypes() 32 exceptions = constructor.getExceptionTypes(); in test_getExceptionTypes() 33 assertEquals(1, exceptions.length); in test_getExceptionTypes() 34 assertEquals(IndexOutOfBoundsException.class, exceptions[0]); in test_getExceptionTypes()
|
D | GenericExceptionsTest.java | 80 Type[] exceptions = method.getGenericExceptionTypes(); in testThrowingMethodThrowsEverything() local 81 TypeVariable t = (TypeVariable) exceptions[0]; in testThrowingMethodThrowsEverything() 82 assertEquals(3, exceptions.length); in testThrowingMethodThrowsEverything() 85 assertEquals(Exception.class, exceptions[1]); in testThrowingMethodThrowsEverything() 86 TypeVariable x = (TypeVariable) exceptions[2]; in testThrowingMethodThrowsEverything()
|
D | MethodTest.java | 34 Class[] exceptions = method.getExceptionTypes(); in test_getExceptionTypes() local 35 assertEquals(1, exceptions.length); in test_getExceptionTypes() 36 assertEquals(IndexOutOfBoundsException.class, exceptions[0]); in test_getExceptionTypes() 38 exceptions[0] = NullPointerException.class; in test_getExceptionTypes() 39 exceptions = method.getExceptionTypes(); in test_getExceptionTypes() 40 assertEquals(1, exceptions.length); in test_getExceptionTypes() 41 assertEquals(IndexOutOfBoundsException.class, exceptions[0]); in test_getExceptionTypes()
|
/libcore/ojluni/src/main/java/java/lang/reflect/ |
D | Executable.java | 162 Type[] exceptions = getGenericExceptionTypes(); in sharedToGenericString() local 163 if (exceptions.length > 0) { in sharedToGenericString() 165 for (int k = 0; k < exceptions.length; k++) { in sharedToGenericString() 166 sb.append((exceptions[k] instanceof Class)? in sharedToGenericString() 167 ((Class)exceptions[k]).getName(): in sharedToGenericString() 168 exceptions[k].toString()); in sharedToGenericString() 169 if (k < (exceptions.length - 1)) in sharedToGenericString() 682 GenericInfo(ListOfTypes exceptions, ListOfTypes parameters, Type ret, in GenericInfo() argument 684 genericExceptionTypes = exceptions; in GenericInfo()
|
D | Proxy.java | 681 List<Class<?>[]> exceptions = deduplicateAndGetExceptions(methods); in apply() local 684 … Class<?>[][] exceptionsArray = exceptions.toArray(new Class<?>[exceptions.size()][]); in apply() 707 List<Class<?>[]> exceptions = new ArrayList<Class<?>[]>(methods.size()); in deduplicateAndGetExceptions() local 714 exceptions.set(i - 1, intersectExceptions(exceptions.get(i - 1), exceptionTypes)); in deduplicateAndGetExceptions() 717 exceptions.add(exceptionTypes); in deduplicateAndGetExceptions() 721 return exceptions; in deduplicateAndGetExceptions() 804 Class<?>[][] exceptions); in generateProxy() argument
|
/libcore/luni/src/main/java/org/xml/sax/helpers/ |
D | ParserAdapter.java | 485 ArrayList<SAXParseException> exceptions = null; in startElement() local 578 if (exceptions == null) { in startElement() 579 exceptions = new ArrayList<SAXParseException>(); in startElement() 581 exceptions.add((SAXParseException) e); in startElement() 587 if (exceptions != null && errorHandler != null) { in startElement() 588 for (SAXParseException ex : exceptions) { in startElement()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
D | ConstructorTest.java | 204 Class[] exceptions = null; in test_getExceptionTypes() local 209 exceptions = ctor.getExceptionTypes(); in test_getExceptionTypes() 215 1, exceptions.length); in test_getExceptionTypes() 216 assertTrue("Returned incorrect exception", exceptions[0].equals(ex)); in test_getExceptionTypes()
|
D | ProxyTest.java | 268 Class<?>[] exceptions = m.getExceptionTypes(); in test_ProxyClass_withParentAndSubInThrowList() local 270 for (Class<?> exp : exceptions) { in test_ProxyClass_withParentAndSubInThrowList()
|
/libcore/luni/src/test/java/libcore/dalvik/system/ |
D | InMemoryDexClassLoaderTest.java | 434 ArrayList<IOException> exceptions = new ArrayList<>(); in testMakeInMemoryDexElements() local 438 exceptions); in testMakeInMemoryDexElements() 440 assertTrue(exceptions.isEmpty()); in testMakeInMemoryDexElements()
|
/libcore/ojluni/annotations/hiddenapi/java/lang/reflect/ |
D | Executable.java | 238 libcore.reflect.ListOfTypes exceptions, in GenericInfo() argument
|
D | Proxy.java | 82 java.lang.Class<?>[][] exceptions); in generateProxy() argument
|
/libcore/ojluni/src/main/native/ |
D | jvm.h | 723 unsigned short *exceptions);
|
/libcore/ |
D | LICENSE | 237 write to the Free Software Foundation; we sometimes make exceptions for this.
|
/libcore/expectations/ |
D | knownfailures.txt | 1505 description: "Conscrypt produces different exceptions under different circumstances",
|
/libcore/ojluni/ |
D | NOTICE | 523 write to the Free Software Foundation; we sometimes make exceptions for this.
|