/dalvik/tests/007-exceptions/src/ |
Main.java | 24 } catch (NullPointerException npe) { 25 System.out.print("Got an NPE: "); 26 System.out.println(npe.getMessage()); 27 npe.printStackTrace(); 34 } catch (NullPointerException npe) { 37 npe2.initCause(npe);
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/ |
AssertionErrorTest.java | 36 NullPointerException npe = new NullPointerException("null value"); local 37 e = new AssertionError(npe); 38 assertEquals(npe.toString(), e.getMessage()); 39 assertSame(npe, e.getCause());
|
ExceptionInInitializerErrorTest.java | 45 NullPointerException npe = new NullPointerException("fixture"); local 46 ExceptionInInitializerError e = new ExceptionInInitializerError(npe); 49 assertSame(npe, e.getException()); 50 assertSame(npe, e.getCause());
|
TypeNotPresentExceptionTest.java | 37 NullPointerException npe = new NullPointerException(); local 38 e = new TypeNotPresentException(getClass().getName(), npe); 40 assertSame(npe, e.getCause());
|
RuntimeExceptionTest.java | 69 NullPointerException npe = new NullPointerException(); local 70 RuntimeException re = new RuntimeException(message, npe); 72 assertEquals(npe, re.getCause()); 74 re = new RuntimeException(null, npe); 88 NullPointerException npe = new NullPointerException(); local 89 RuntimeException re = new RuntimeException(npe); 90 assertEquals(npe, re.getCause());
|
SecurityExceptionTest.java | 50 NullPointerException npe = new NullPointerException(); local 51 SecurityException e = new SecurityException("fixture", npe); 53 assertSame(npe, e.getCause()); 61 NullPointerException npe = new NullPointerException(); local 62 SecurityException e = new SecurityException(npe); 63 assertSame(npe, e.getCause());
|
IllegalArgumentExceptionTest.java | 67 NullPointerException npe = new NullPointerException(); local 69 npe); 71 assertSame(npe, e.getCause());
|
ThrowableTest.java | 95 NullPointerException npe = new NullPointerException(); local 96 Throwable thr = new Throwable(message, npe); 98 assertEquals("cause is incorrect.", npe, thr.getCause()); 100 thr = new Throwable(null, npe); 102 assertEquals("cause is incorrect.", npe, thr.getCause()); 131 NullPointerException npe = new NullPointerException(); local 132 Throwable thr = new Throwable(npe); 134 assertEquals("Returned cause is incorrect.", npe, thr.getCause()); 343 NullPointerException npe = new NullPointerException(); local 344 Throwable thr = new Throwable(message, npe); 357 NullPointerException npe = new NullPointerException(); local 399 NullPointerException npe = new NullPointerException(); local [all...] |
/libcore/luni/src/test/java/tests/api/javax/xml/parsers/ |
FactoryConfigurationErrorTest.java | 116 NullPointerException npe = new NullPointerException(); local 117 fce = new FactoryConfigurationError(npe); 118 assertEquals(npe, fce.getException());
|
/prebuilt/common/ant/ |
ant.jar | |
/prebuilt/common/groovy/ |
groovy-all-1.7.0.jar | |