Home
last modified time | relevance | path

Searched refs:ClassNotFoundException (Results 1 – 25 of 234) sorted by relevance

12345678910

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DClassNotFoundExceptionTest.java34 ClassNotFoundException e = new ClassNotFoundException(); in test_Constructor()
44 ClassNotFoundException e = new ClassNotFoundException("fixture"); in test_ConstructorLjava_lang_String()
54 ClassNotFoundException e = new ClassNotFoundException("SomeMessage", in); in test_ClassNotFoundException_LString_LThrowable()
DClassTest.java108 } catch (ClassNotFoundException e) { in test_forNameLjava_lang_String()
114 } catch (ClassNotFoundException e) { in test_forNameLjava_lang_String()
119 } catch (ClassNotFoundException e) { in test_forNameLjava_lang_String()
125 } catch (ClassNotFoundException e) { in test_forNameLjava_lang_String()
131 } catch (ClassNotFoundException e) { in test_forNameLjava_lang_String()
136 } catch (ClassNotFoundException e) { in test_forNameLjava_lang_String()
142 } catch (ClassNotFoundException e) { in test_forNameLjava_lang_String()
147 } catch (ClassNotFoundException e) { in test_forNameLjava_lang_String()
152 } catch (ClassNotFoundException e) { in test_forNameLjava_lang_String()
159 } catch (ClassNotFoundException e) { in test_forNameLjava_lang_String()
[all …]
/libcore/ojluni/src/main/java/java/lang/
DClassNotFoundException.java53 public class ClassNotFoundException extends ReflectiveOperationException { class
71 public ClassNotFoundException() { in ClassNotFoundException() method in ClassNotFoundException
81 public ClassNotFoundException(String s) { in ClassNotFoundException() method in ClassNotFoundException
94 public ClassNotFoundException(String s, Throwable ex) { in ClassNotFoundException() method in ClassNotFoundException
DClassLoader.java311 public Class<?> loadClass(String name) throws ClassNotFoundException { in loadClass()
360 throws ClassNotFoundException in loadClass()
371 } catch (ClassNotFoundException e) { in loadClass()
404 protected Class<?> findClass(String name) throws ClassNotFoundException { in findClass()
405 throw new ClassNotFoundException(name); in findClass()
704 throws ClassNotFoundException in findSystemClass()
1357 protected Class<?> findClass(String name) throws ClassNotFoundException { in findClass()
1414 throws ClassNotFoundException { in loadClass()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DSerializationStressTest1.java119 throws java.io.IOException, ClassNotFoundException { in readObject()
144 throws java.io.IOException, ClassNotFoundException { in readObject()
179 throws java.io.IOException, ClassNotFoundException { in readObject()
196 throws java.io.IOException, ClassNotFoundException { in writeObject()
291 throws java.io.IOException, ClassNotFoundException { in readObject()
296 throws java.io.IOException, ClassNotFoundException { in writeObject()
317 throws java.io.IOException, ClassNotFoundException { in readObject()
322 throws java.io.IOException, ClassNotFoundException { in writeObject()
355 throws java.io.IOException, ClassNotFoundException { in readObject()
360 throws java.io.IOException, ClassNotFoundException { in writeObject()
[all …]
DSerializationStressTest2.java55 throws java.io.IOException, ClassNotFoundException { in readObject()
113 throws java.io.IOException, ClassNotFoundException { in readObject()
120 throws java.io.IOException, ClassNotFoundException { in writeObject()
143 throws java.io.IOException, ClassNotFoundException { in readObject()
148 throws java.io.IOException, ClassNotFoundException { in writeObject()
164 throws java.io.IOException, ClassNotFoundException { in readObject()
169 throws java.io.IOException, ClassNotFoundException { in writeObject()
207 ClassNotFoundException { in readObject()
231 ClassNotFoundException { in readObject()
601 throws IOException, ClassNotFoundException { in readObject()
[all …]
DSerializationStressTest4.java87 } catch (ClassNotFoundException e) { in test_writeObject_EventObject()
119 } catch (ClassNotFoundException e) { in test_writeObject_Collections_EmptySet()
152 } catch (ClassNotFoundException e) { in test_writeObject_Collections_EmptyMap()
181 } catch (ClassNotFoundException e) { in test_writeObject_Character()
246 } catch (ClassNotFoundException e) { in test_writeObject_Format()
273 } catch (ClassNotFoundException e) { in test_writeObject_BigDecimal()
316 } catch (ClassNotFoundException e) { in test_writeObject_SecureRandomSpi()
344 } catch (ClassNotFoundException e) { in test_writeObject_Short()
372 } catch (ClassNotFoundException e) { in test_writeObject_Byte()
405 } catch (ClassNotFoundException e) { in test_writeObject_String_CaseInsensitiveComparator()
[all …]
DObjectStreamFieldTest.java157 ClassNotFoundException { in test_getType_Deserialized()
178 ClassNotFoundException { in test_getType_MockObjectInputStream()
231 throws IOException, ClassNotFoundException { in test_ObjectWithPrimitiveField()
280 IOException, ClassNotFoundException { in readObject()
304 ClassNotFoundException { in readClassDescriptor()
344 IOException, ClassNotFoundException { in readObject()
390 throws IOException, ClassNotFoundException { in readClassDescriptor()
DObjectInputStream2Test.java43 public void test_readUnshared() throws IOException, ClassNotFoundException { in test_readUnshared()
69 ClassNotFoundException { in test_readObject_Hierarchy()
154 void test() throws ClassNotFoundException, IOException { in test()
160 public void test_readClassDescriptor() throws ClassNotFoundException, in test_readClassDescriptor()
178 throws IOException, ClassNotFoundException { in resolveClass()
DObjectOutputStreamTest.java171 throws java.io.IOException, ClassNotFoundException { in readObject()
193 throws java.io.IOException, ClassNotFoundException { in readObject()
223 throws java.io.IOException, ClassNotFoundException { in readObject()
237 throws java.io.IOException, ClassNotFoundException { in writeObject()
319 throws java.io.IOException, ClassNotFoundException { in readObject()
324 throws java.io.IOException, ClassNotFoundException { in writeObject()
353 throws java.io.IOException, ClassNotFoundException { in readObject()
358 throws java.io.IOException, ClassNotFoundException { in writeObject()
400 throws java.io.IOException, ClassNotFoundException { in readObject()
407 throws java.io.IOException, ClassNotFoundException { in writeObject()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/
DParserFactoryTest.java30 public void testMakeParser() throws ClassNotFoundException, in testMakeParser()
49 } catch (ClassNotFoundException e) { in testMakeParser()
94 public void testMakeParserString() throws ClassNotFoundException, in testMakeParserString()
108 } catch (ClassNotFoundException e) { in testMakeParserString()
/libcore/ojluni/src/test/java/time/tck/java/time/serial/
DTCKClockSerialization.java90 public void test_systemClockSerializable() throws IOException, ClassNotFoundException { in test_systemClockSerializable()
97 public void test_offsetClockSerializable() throws IOException, ClassNotFoundException { in test_offsetClockSerializable()
102 public void test_tickClockSerializable() throws IOException, ClassNotFoundException { in test_tickClockSerializable()
109 public void test_fixedClockSerializable() throws IOException, ClassNotFoundException { in test_fixedClockSerializable()
/libcore/dalvik/src/main/java/dalvik/system/
DDelegateLastClassLoader.java146 protected Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundException { in loadClass()
157 } catch (ClassNotFoundException ignored) { in loadClass()
162 ClassNotFoundException fromSuper = null; in loadClass()
165 } catch (ClassNotFoundException ex) { in loadClass()
172 } catch (ClassNotFoundException cnfe) { in loadClass()
/libcore/luni/src/test/java/libcore/java/text/
DAttributedCharacterIteratorAttributeTest.java33 public void testSerialization() throws IOException, ClassNotFoundException { in testSerialization()
40 public void testSerializingSubclass() throws IOException, ClassNotFoundException { in testSerializingSubclass()
49 private void assertSameReserialized(Object o) throws ClassNotFoundException, IOException { in assertSameReserialized()
/libcore/luni/src/main/java/org/xml/sax/helpers/
DParserFactory.java79 throws ClassNotFoundException, in makeParser()
118 throws ClassNotFoundException, in makeParser()
/libcore/luni/src/test/java/libcore/libcore/util/
DSerializationTester.java90 private static Object deserialize(byte[] bytes) throws IOException, ClassNotFoundException { in deserialize()
100 public static Object reserialize(Object object) throws IOException, ClassNotFoundException { in reserialize()
108 public static Object deserializeHex(String hex) throws IOException, ClassNotFoundException { in deserializeHex()
/libcore/ojluni/src/main/java/java/time/chrono/
DSer.java222 public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { in readExternal()
227 static Object read(ObjectInput in) throws IOException, ClassNotFoundException { in read()
232 … static Object readInternal(byte type, ObjectInput in) throws IOException, ClassNotFoundException { in readInternal()
/libcore/ojluni/src/main/java/java/time/
DSer.java244 public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { in readExternal()
249 static Object read(ObjectInput in) throws IOException, ClassNotFoundException { in read()
254 … static Object readInternal(byte type, ObjectInput in) throws IOException, ClassNotFoundException { in readInternal()
/libcore/ojluni/src/main/java/java/security/
DSignedObject.java175 throws IOException, ClassNotFoundException in getObject()
252 throws java.io.IOException, ClassNotFoundException { in readObject()
/libcore/ojluni/src/main/java/java/io/
DExternalizable.java96 void readExternal(ObjectInput in) throws IOException, ClassNotFoundException; in readExternal()
DObjectInput.java51 throws ClassNotFoundException, IOException; in readObject()
/libcore/ojluni/src/main/java/sun/misc/
DSharedSecrets.java145 } catch (ClassNotFoundException e) { in getJavaIOFileDescriptorAccess()
/libcore/luni/src/test/java/libcore/dalvik/system/
DDelegateLastClassLoaderTest.java154 ClassNotFoundException msgFromDelegate = null; in testLoadClass_exceptionMessages()
158 } catch (ClassNotFoundException ex) { in testLoadClass_exceptionMessages()
165 ClassNotFoundException msgFromPathClassloader = null; in testLoadClass_exceptionMessages()
169 } catch (ClassNotFoundException ex) { in testLoadClass_exceptionMessages()
/libcore/luni/src/test/java/libcore/java/io/
DObjectOutputStreamTest.java54 private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException { in readObject()
98 throws IOException, ClassNotFoundException { in roundTrip()
/libcore/test-rules/src/main/java/libcore/junit/util/
DSwitchTargetSdkVersionRule.java70 } catch (ClassNotFoundException | NoSuchMethodException e) {
122 private SwitchVMRuntimeUsingReflection() throws ClassNotFoundException, NoSuchMethodException { in SwitchVMRuntimeUsingReflection()

12345678910