HomeSort by relevance Sort by last modified time
    Searched full:throw (Results 1001 - 1025 of 5185) sorted by null

<<41424344454647484950>>

  /cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/
RoundRectShapeTest.java 61 fail("Should throw ArrayIndexOutOfBoundsException");
67 fail("Should throw NullPointerException");
73 fail("Should throw ArrayIndexOutOfBoundsException");
  /cts/tests/tests/provider/src/android/provider/cts/
MediaStore_Audio_ArtistsTest.java 77 fail("Should throw UnsupportedOperationException!");
105 fail("Should throw UnsupportedOperationException!");
113 fail("Should throw UnsupportedOperationException!");
  /cts/tests/tests/widget/src/android/widget/cts/
FrameLayout_LayoutParamsTest.java 89 fail("did not throw NullPointerException when context and attrs are null.");
99 fail("did not throw NullPointerException when ViewGroup.LayoutParams is null.");
106 fail("did not throw NullPointerException when ViewGroup.MarginLayoutParams is null.");
RadioButtonTest.java 77 fail("The constructor should throw NullPointerException when param Context is null.");
84 fail("The constructor should throw NullPointerException when param Context is null.");
92 fail("The constructor should throw NullPointerException when param Context is null.");
  /cts/tools/vm-tests/src/util/build/
BuildStep.java 64 throw new NullPointerException("inputFile is null");
67 throw new NullPointerException("outputFile is null");
112 throw e;
DeviceUtil.java.template 51 throw new RuntimeException("Exception occurred: " + e.getClass().getName() + ", msg:"
55 throw re;
68 throw new RuntimeException("could not find resource /tests" + testName
  /dalvik/dx/src/com/android/dx/command/dump/
Main.java 75 throw new RuntimeException("usage");
81 throw new RuntimeException("usage");
94 throw new RuntimeException("shouldn't happen", ex);
  /dalvik/dx/src/com/android/dx/rop/cst/
CstArray.java 37 throw new NullPointerException("list == null");
141 * do that, this will throw {@code NullPointerException}.
158 throw new IllegalArgumentException("bad value: " + a);
  /dalvik/dx/src/com/android/dx/util/
IndentingWriter.java 60 throw new NullPointerException("out == null");
64 throw new IllegalArgumentException("width < 0");
68 throw new NullPointerException("prefix == null");
  /dalvik/libcore/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/
JarInputStreamTest.java 256 fail("Should throw Security Exception");
260 throw e;
315 fail("Should throw Security Exception");
319 throw e;
347 fail("Should throw Security Exception");
351 throw e;
381 fail("Should throw Security Exception");
385 throw e;
443 fail("Should throw Security Exception");
447 throw e
    [all...]
  /dalvik/libcore/crypto/src/main/java/javax/crypto/spec/
IvParameterSpec.java 46 throw new NullPointerException(Messages.getString("crypto.38")); //$NON-NLS-1$
72 throw new IllegalArgumentException(
76 throw new ArrayIndexOutOfBoundsException(Messages.getString("crypto.3A")); //$NON-NLS-1$
  /dalvik/libcore/crypto/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
ExemptionMechanismExceptionTest.java 70 throw tE;
95 throw tE;
119 throw tE;
  /dalvik/libcore/dom/src/test/java/org/w3c/domts/
DocumentBuilderSettingStrategy.java 87 throw new DOMTestIncompatibleException(
127 throw new DOMTestIncompatibleException(
143 throw new DOMTestIncompatibleException(
JAXPDOMTestDocumentBuilderFactory.java 53 // may throw exception if incompatible
63 throw new DOMTestIncompatibleException(ex, null);
131 throw new DOMTestLoadException(parseException);
  /dalvik/libcore/luni/src/main/java/java/net/
URISyntaxException.java 55 throw new NullPointerException();
59 throw new IllegalArgumentException();
82 throw new NullPointerException();
  /dalvik/libcore/luni/src/test/java/tests/api/java/net/
UnixSocketTest.java 66 fail("Should throw SocketException");
74 fail("Should throw SocketException");
80 fail("Should throw SocketException");
  /dalvik/libcore/luni/src/test/java/tests/api/java/util/
ConcurrentModificationExceptionTest.java 84 fail("Failed to throw expected ConcurrentModificationException");
103 throw new ConcurrentModificationException(errorMessage);
109 fail("Failed to throw expected ConcurrentModificationException");
EnumSetTest.java 88 fail("Should throw NullPointerException"); //$NON-NLS-1$
95 fail("Should throw ClassCastException"); //$NON-NLS-1$
104 fail("Should throw ClassCastException"); //$NON-NLS-1$
118 fail("Should throw ClassCastException"); //$NON-NLS-1$
184 fail("Should throw NullPointerException"); //$NON-NLS-1$
191 fail("Should throw ClassCastException"); //$NON-NLS-1$
247 fail("Should throw NullPointerException"); //$NON-NLS-1$
256 fail("Should throw ClassCastException"); //$NON-NLS-1$
264 fail("Should throw NullPointerException"); //$NON-NLS-1$
283 fail("Should throw ClassCastException"); //$NON-NLS-1
    [all...]
  /dalvik/libcore/prefs/src/main/java/java/util/prefs/
PreferenceChangeEvent.java 32 * so the serialization methods do nothing but throw a {@code NotSerializableException}.
102 throw new NotSerializableException();
110 throw new NotSerializableException();
  /dalvik/libcore/security/src/main/java/java/security/
AllPermissionCollection.java 52 throw new SecurityException(Messages.getString("security.15")); //$NON-NLS-1$
55 throw new IllegalArgumentException(Messages.getString("security.16", //$NON-NLS-1$
97 throw new NoSuchElementException(Messages.getString("security.17")); //$NON-NLS-1$
  /dalvik/libcore/security/src/main/java/java/security/cert/
PKIXCertPathValidatorResult.java 57 throw new NullPointerException(Messages.getString("security.64")); //$NON-NLS-1$
60 throw new NullPointerException(
102 throw new AssertionError(e); // android-changed
  /dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/
ASN1Sequence.java 36 throw new IllegalArgumentException("unknown object in getInstance");
63 throw new IllegalArgumentException("object implicit - explicit expected.");
95 throw new IllegalArgumentException(
  /dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/x509/
IetfAttrSyntax.java 51 throw new IllegalArgumentException("Non-IetfAttrSyntax encoding");
75 throw new IllegalArgumentException("Bad value type encoding IetfAttrSyntax");
85 throw new IllegalArgumentException("Mix of value types in IetfAttrSyntax");
TBSCertList.java 50 throw new IllegalArgumentException("Bad sequence size: " + seq.size());
113 throw new IllegalArgumentException("unknown object in factory");
121 throw new IllegalArgumentException("Bad sequence size: " + seq.size());
V2TBSCertListGenerator.java 127 throw new IllegalArgumentException("error encoding reason: " + e);
140 throw new IllegalArgumentException("error encoding invalidityDate: " + e);
179 throw new IllegalStateException("Not all mandatory fields set in V2 TBSCertList generator.");

Completed in 940 milliseconds

<<41424344454647484950>>