HomeSort by relevance Sort by last modified time
    Searched defs:npe (Results 1 - 25 of 48) sorted by null

1 2

  /libcore/harmony-tests/src/test/java/org/apache/harmony/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());
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());
  /art/test/408-move-bug/src/
Main.java 21 npe(); method
44 // Similar to `crash` but generated an NPE.
45 static void npe() { method in class:Main
  /libcore/luni/src/test/java/libcore/java/lang/
OldRuntimeExceptionTest.java 26 NullPointerException npe = new NullPointerException(); local
27 RuntimeException re = new RuntimeException(message, npe);
29 assertEquals(npe, re.getCause());
31 re = new RuntimeException(null, npe);
39 NullPointerException npe = new NullPointerException(); local
40 RuntimeException re = new RuntimeException(npe);
41 assertEquals(npe, re.getCause());
OldThrowableTest.java 25 NullPointerException npe = new NullPointerException(); local
26 Throwable thr = new Throwable(message, npe);
28 assertEquals("cause is incorrect.", npe, thr.getCause());
30 thr = new Throwable(null, npe);
32 assertEquals("cause is incorrect.", npe, thr.getCause());
41 NullPointerException npe = new NullPointerException(); local
42 Throwable thr = new Throwable(npe);
44 assertEquals("Returned cause is incorrect.", npe, thr.getCause());
73 NullPointerException npe = new NullPointerException(); local
74 Throwable thr = new Throwable(message, npe);
81 NullPointerException npe = new NullPointerException(); local
117 NullPointerException npe = new NullPointerException(); local
    [all...]
  /art/test/008-exceptions/src/
Main.java 60 } catch (NullPointerException npe) {
61 System.out.print("Got an NPE: ");
62 System.out.println(npe.getMessage());
63 npe.printStackTrace(System.out);
75 } catch (NullPointerException npe) {
78 npe2.initCause(npe);
  /external/testng/src/test/java/test/asserttests/
AssertTest.java 94 NullPointerException npe = new NullPointerException(); local
96 Throwable throwable = expectThrows(Throwable.class, throwingRunnable(npe));
98 assertSame(npe, throwable);
103 NullPointerException npe = new NullPointerException(); local
105 expectThrows(IOException.class, throwingRunnable(npe));
110 NullPointerException npe = new NullPointerException("inner-message"); local
113 expectThrows(IOException.class, throwingRunnable(npe));
115 assertSame(npe, ex.getCause());
124 NullPointerException npe = new NullPointerException(); local
127 expectThrows(IOException.class, throwingRunnable(npe));
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/
FactoryConfigurationErrorTest.java 82 NullPointerException npe = new NullPointerException(); local
83 fce = new FactoryConfigurationError(npe);
84 assertEquals(npe, fce.getException());
  /art/test/122-npe/src/
Main.java 39 NullPointerException npe = null; local
47 npe = e;
49 check(npe, thisLine += 4);
55 npe = e;
57 check(npe, thisLine += 8);
63 npe = e;
65 check(npe, thisLine += 8);
70 npe = e;
72 check(npe, thisLine += 7);
77 npe = e
    [all...]
  /external/guice/extensions/multibindings/src/com/google/inject/multibindings/
Multibinder.java 572 NullPointerException npe = new NullPointerException(name); local
574 new Message(npe.toString(), npe)));
  /external/owasp/sanitizer/tools/findbugs/lib/
findbugs.jar 
  /prebuilts/tools/common/m2/repository/com/google/code/findbugs/findbugs/2.0.1/
findbugs-2.0.1.jar 
  /prebuilts/tools/common/m2/repository/com/google/code/findbugs/findbugs/2.0.3/
findbugs-2.0.3.jar 
  /prebuilts/tools/common/m2/repository/com/google/code/findbugs/findbugs/3.0.0/
findbugs-3.0.0.jar 
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/configuration/org.eclipse.osgi/bundles/27/1/.cp/lib/
antsupportlib.jar 
  /frameworks/base/services/core/java/com/android/server/
ConnectivityService.java     [all...]
  /prebuilts/tools/common/m2/repository/org/apache/maven/plugins/maven-assembly-plugin/2.2-beta-5/
maven-assembly-plugin-2.2-beta-5.jar 
  /prebuilts/tools/common/m2/repository/org/glassfish/jaxb/jaxb-core/2.2.11/
jaxb-core-2.2.11.jar 
  /external/slf4j/log4j-over-slf4j/compatibility/lib/
logback-core-0.9.8-SNAPSHOT.jar 
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
ant-nodeps.jar 
  /external/guice/extensions/struts2/lib/
struts2-core-2.2.1.jar 
  /prebuilts/tools/common/m2/repository/org/gebish/geb-core/0.9.3/
geb-core-0.9.3.jar 

Completed in 436 milliseconds

1 2