Searched refs:NullPointerException (Results 1 - 25 of 906) sorted by relevance

1234567891011>>

/openjdk7/langtools/test/com/sun/javadoc/testThrowsInheritence/
H A DI.java27 * @throws java.lang.NullPointerException Test 1 fails
29 public void method() throws NullPointerException;
H A DC.java28 * @throws NullPointerException Test 1 passes.
30 public void method() throws NullPointerException {}
/openjdk7/langtools/test/tools/javac/annotations/neg/
H A DZ13.java34 int a() throws NullPointerException;
/openjdk7/langtools/test/tools/javac/generics/
H A DGenericThrowable.java33 class GenericThrowable<T> extends NullPointerException {
/openjdk7/jdk/src/share/classes/java/lang/
H A DNullPointerException.java44 * {@code NullPointerException} objects may be constructed by the
53 class NullPointerException extends RuntimeException { class in inherits:RuntimeException
57 * Constructs a {@code NullPointerException} with no detail message.
59 public NullPointerException() { method in class:NullPointerException
64 * Constructs a {@code NullPointerException} with the specified
69 public NullPointerException(String s) { method in class:NullPointerException
/openjdk7/langtools/test/tools/javac/diags/examples/
H A DThrowsNotAllowedInAnno.java27 String value() throws NullPointerException;
H A DMulticatchCantBeAssigned.java27 void e1() throws NullPointerException { }
34 } catch (final NullPointerException | IllegalArgumentException e) {
/openjdk7/langtools/test/tools/javac/generics/parametricException/
H A DK.java25 void f(J<NullPointerException> j) {
/openjdk7/langtools/test/tools/javac/
H A DNull2DArray.java39 } catch (NullPointerException ex) {
H A DNullStaticQualifier.java42 } catch (NullPointerException e) {
48 } catch (NullPointerException e) {
/openjdk7/jdk/test/java/beans/VetoableChangeSupport/
H A DTest4076065.java37 } catch (NullPointerException exception) {
40 throw new Error("didn't get expected NullPointerException");
/openjdk7/jdk/test/java/io/InputStreamReader/
H A DNullCreate.java38 } catch (NullPointerException e){
/openjdk7/jdk/test/java/io/OutputStreamWriter/
H A DNullCreate.java38 } catch (NullPointerException e){
/openjdk7/jdk/test/java/lang/Runtime/exec/
H A DBadEnvp.java39 throw new Exception("Expected NullPointerException not thrown");
40 } catch (NullPointerException e) {} // OK
44 throw new Exception("Expected NullPointerException not thrown");
45 } catch (NullPointerException e) {} // OK
49 throw new Exception("Expected NullPointerException not thrown");
50 } catch (NullPointerException e) {} // OK
54 throw new Exception("Expected NullPointerException not thrown");
55 } catch (NullPointerException e) {} // OK
/openjdk7/jdk/test/java/math/BigInteger/
H A DOperatorNpeTests.java44 } catch (NullPointerException npe) {
51 } catch (NullPointerException npe) {
58 } catch (NullPointerException npe) {
65 } catch (NullPointerException npe) {
/openjdk7/langtools/test/tools/javac/api/6452876/
H A DT6452876.java40 } catch (NullPointerException npe) {
/openjdk7/jdk/test/java/util/IllegalFormatException/
H A DConstructors.java33 private static Class NPE = NullPointerException.class;
57 } catch (NullPointerException x) {
64 } catch (NullPointerException x) {
71 } catch (NullPointerException x) {
78 } catch (NullPointerException x) {
85 } catch (NullPointerException x) {
92 } catch (NullPointerException x) {
99 } catch (NullPointerException x) {
106 } catch (NullPointerException x) {
/openjdk7/jdk/src/share/classes/javax/xml/crypto/dsig/dom/
H A DDOMSignContext.java69 * @throws NullPointerException if <code>signingKey</code> or
74 throw new NullPointerException("signingKey cannot be null");
77 throw new NullPointerException("parent cannot be null");
95 * @throws NullPointerException if <code>signingKey</code>,
100 throw new NullPointerException("signingKey cannot be null");
103 throw new NullPointerException("parent cannot be null");
106 throw new NullPointerException("nextSibling cannot be null");
122 * @throws NullPointerException if <code>ks</code> or <code>parent</code>
127 throw new NullPointerException("key selector cannot be null");
130 throw new NullPointerException("paren
[all...]
/openjdk7/jdk/test/java/nio/file/Files/walkFileTree/
H A DNulls.java37 throw new RuntimeException("NullPointerException expected");
45 } catch (NullPointerException e) {
51 } catch (NullPointerException e) {
65 } catch (NullPointerException e) {
71 } catch (NullPointerException e) {
80 } catch (NullPointerException x0) {
82 } catch (NullPointerException x1) {
84 } catch (NullPointerException x2) {
86 } catch (NullPointerException x3) {
88 } catch (NullPointerException x
[all...]
/openjdk7/jdk/src/share/classes/java/security/spec/
H A DRSAMultiPrimePrivateCrtKeySpec.java80 * @exception NullPointerException if any of the parameters, i.e.
100 throw new NullPointerException("the modulus parameter must be " +
104 throw new NullPointerException("the publicExponent parameter " +
108 throw new NullPointerException("the privateExponent parameter " +
112 throw new NullPointerException("the primeP parameter " +
116 throw new NullPointerException("the primeQ parameter " +
120 throw new NullPointerException("the primeExponentP parameter " +
124 throw new NullPointerException("the primeExponentQ parameter " +
128 throw new NullPointerException("the crtCoefficient parameter " +
/openjdk7/jdk/test/java/io/Reader/
H A DNullLock.java47 } catch(NullPointerException e) {
57 } catch(NullPointerException e) {
/openjdk7/langtools/test/com/sun/javadoc/testTagInheritence/pkg/
H A DTestInterface.java38 * @throws java.lang.NullPointerException Test 15 passes.
43 java.lang.NullPointerException;
51 * @throws java.lang.NullPointerException Test 20 passes.
56 java.lang.NullPointerException;
H A DTestTagInheritence.java35 java.lang.NullPointerException {
46 * @throws java.lang.NullPointerException {@inheritDoc}
49 java.lang.NullPointerException {
54 java.lang.NullPointerException
66 * @throws java.lang.NullPointerException {@inheritDoc}
69 java.lang.NullPointerException {
99 * @throws java.lang.NullPointerException {@inheritDoc}
106 throws java.io.IOException, java.lang.NullPointerException {
/openjdk7/jdk/test/java/security/Security/
H A DNulls.java41 } catch (NullPointerException e) {
50 } catch (NullPointerException e) {
59 } catch (NullPointerException e) {
65 } catch (NullPointerException e) {
71 } catch (NullPointerException e) {
78 } catch (NullPointerException e) {
84 } catch (NullPointerException e) {
90 } catch (NullPointerException e) {
/openjdk7/jdk/test/java/security/Permission/
H A DNullName.java43 } catch (NullPointerException e) {
50 } catch (NullPointerException e) {
57 } catch (NullPointerException e) {
64 } catch (NullPointerException e) {
70 } catch (NullPointerException e) {

Completed in 319 milliseconds

1234567891011>>