HomeSort by relevance Sort by last modified time
    Searched refs:ClassCastException (Results 1 - 25 of 173) sorted by null

1 2 3 4 5 6 7

  /libcore/luni/src/main/java/java/lang/
ClassCastException.java 24 public class ClassCastException extends RuntimeException {
28 * Constructs a new {@code ClassCastException} that includes the current
31 public ClassCastException() {
35 * Constructs a new {@code ClassCastException} with the current stack trace
41 public ClassCastException(String detailMessage) {
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
ClassCastExceptionTest.java 25 * @tests java.lang.ClassCastException#ClassCastException()
28 ClassCastException e = new ClassCastException();
35 * @tests java.lang.ClassCastException#ClassCastException(java.lang.String)
38 ClassCastException e = new ClassCastException("fixture");
  /libcore/luni/src/main/java/org/xml/sax/helpers/
ParserFactory.java 72 * @exception java.lang.ClassCastException The SAX parser class
83 ClassCastException
111 * @exception java.lang.ClassCastException The SAX parser class
121 ClassCastException
  /libcore/luni/src/test/java/libcore/java/lang/
ClassCastExceptionTest.java 31 } catch (ClassCastException ex) {
41 } catch (ClassCastException ex) {
50 } catch (ClassCastException ex) {
60 } catch (ClassCastException ex) {
70 } catch (ClassCastException ex) {
79 } catch (ClassCastException ex) {
87 } catch (ClassCastException ex) {
95 } catch (ClassCastException ex) {
127 } catch (ClassCastException ex) {
138 } catch (ClassCastException ex)
    [all...]
  /external/bouncycastle/src/main/java/org/bouncycastle/asn1/
ASN1Object.java 24 catch (ClassCastException e)
  /libcore/luni/src/main/java/org/apache/harmony/luni/lang/reflect/
ImplForArray.java 32 } catch (ClassCastException e) {
  /packages/apps/Email/src/com/android/email/activity/
InsertQuickResponseDialog.java 74 } catch (ClassCastException e) {
75 throw new ClassCastException(callbackFragment.toString()
95 } catch (ClassCastException e) {
96 throw new ClassCastException(getActivity().toString() + " must implement Callback");
  /frameworks/base/core/java/android/os/
Bundle.java 168 } catch (ClassCastException e) {
767 Object defaultValue, ClassCastException e) {
783 ClassCastException e) {
802 } catch (ClassCastException e) {
835 } catch (ClassCastException e) {
868 } catch (ClassCastException e) {
901 } catch (ClassCastException e) {
934 } catch (ClassCastException e) {
967 } catch (ClassCastException e) {
1000 } catch (ClassCastException e)
    [all...]
  /libcore/luni/src/test/java/tests/api/org/xml/sax/helpers/
ParserFactoryTest.java 81 fail("expected ClassCastException was not thrown");
82 } catch (ClassCastException e) {
134 fail("expected ClassCastException was not thrown");
135 } catch (ClassCastException e) {
  /external/proguard/src/proguard/classfile/
ProgramClass.java 118 catch (ClassCastException ex)
121 throw new ClassCastException("Expected Utf8Constant at index ["+constantIndex+"] in class ["+getName()+"], found ["+ex.getMessage()+"]");
131 catch (ClassCastException ex)
133 throw new ClassCastException("Expected StringConstant at index ["+constantIndex+"] in class ["+getName()+"], found ["+ex.getMessage()+"]");
143 catch (ClassCastException ex)
145 throw new ClassCastException("Expected ClassConstant at index ["+constantIndex+"] in class ["+getName()+"], found ["+ex.getMessage()+"]");
155 catch (ClassCastException ex)
157 throw new ClassCastException("Expected NameAndTypeConstant at index ["+constantIndex+"] in class ["+getName()+"], found ["+ex.getMessage()+"]");
167 catch (ClassCastException ex)
169 throw new ClassCastException("Expected NameAndTypeConstant at index ["+constantIndex+"] in class ["+getName()+"], found ["+ex.g (…)
    [all...]
  /dalvik/tests/008-instanceof/src/
Main.java 45 catch (ClassCastException cce) {
46 System.out.println("Caught a ClassCastException (expected)");
  /frameworks/base/core/java/android/util/
Pair.java 50 } catch (ClassCastException e) {
  /frameworks/base/telephony/java/com/android/internal/telephony/
RestrictedState.java 94 } catch (ClassCastException ex) {
  /libcore/luni/src/main/java/java/util/
AbstractSet.java 59 } catch (ClassCastException ignored) {
  /libcore/luni/src/test/java/libcore/java/util/
OldListIteratorTest.java 60 if(o.getClass() == Double.class) throw new ClassCastException();
94 if(o.getClass() == Double.class) throw new ClassCastException();
205 fail("ClassCastException expected");
206 } catch (ClassCastException e) {
232 fail("ClassCastException expected");
233 } catch (ClassCastException e) {
OldTreeSetTest.java 50 fail("ClassCastException expected");
51 } catch (ClassCastException e) {
85 fail("ClassCastException expected");
86 } catch (ClassCastException e) {
107 fail("ClassCastException expected");
108 } catch (ClassCastException e) {
152 fail("ClassCastException expected");
153 } catch (ClassCastException e) {
214 fail("ClassCastException expected");
215 } catch (ClassCastException e)
    [all...]
OldTreeMapTest.java 120 fail("ClassCastException expected");
121 } catch (ClassCastException e) {
163 fail("ClassCastException expected");
164 } catch (ClassCastException e) {
197 fail("ClassCastException expected");
198 } catch (ClassCastException e) {
228 fail("ClassCastException expected");
229 } catch (ClassCastException e) {
321 fail("should throw ClassCastException");
322 } catch (ClassCastException e)
    [all...]
  /system/media/mca/filterfw/java/android/filterfw/core/
ProgramPort.java 56 } catch (ClassCastException e) {
  /cts/tools/dx-tests/src/dxc/junit/opcodes/checkcast/
Test_checkcast.java 59 * @title expected ClassCastException
65 fail("expected ClassCastException");
66 } catch (ClassCastException iae) {
72 * @title expected ClassCastException. checkcast [[[Ldxc/junit/opcodes/checkcast/jm/TestStubs$TestStub;
73 * dalvikvm throws ClassCastException as demanded by checkcast, but
82 fail("expected ClassCastException");
83 } catch (ClassCastException cce) {
  /external/apache-http/src/org/apache/commons/codec/binary/
Hex.java 152 } catch (ClassCastException e) {
186 } catch (ClassCastException e) {
  /libcore/luni/src/test/java/libcore/java/lang/reflect/
OldAndroidArrayTest.java 50 } catch (ClassCastException cce) {
110 } catch (ClassCastException cce) {
  /frameworks/base/core/java/android/content/
ContentValues.java 264 } catch (ClassCastException e) {
289 } catch (ClassCastException e) {
314 } catch (ClassCastException e) {
339 } catch (ClassCastException e) {
364 } catch (ClassCastException e) {
389 } catch (ClassCastException e) {
414 } catch (ClassCastException e) {
  /external/bouncycastle/src/main/java/org/bouncycastle/x509/
ExtendedPKIXParameters.java 53 * @throws ClassCastException if any of the elements in the <code>Set</code>
199 * @throws ClassCastException if an element of <code>stores</code> is not
222 * @throws ClassCastException if an element of <code>stores</code> is not
237 throw new ClassCastException(
495 * @throws ClassCastException if an element of <code>stores</code> is not
509 throw new ClassCastException("All elements of set must be "
540 * @throws ClassCastException if an element of
555 throw new ClassCastException("All elements of set must be "
585 * @throws ClassCastException if an element of
600 throw new ClassCastException("All elements of set must be
    [all...]
  /dalvik/tests/045-reflect-array/src/
Main.java 50 catch (ClassCastException cce) {
123 catch (ClassCastException cce) {
  /packages/apps/Contacts/src/com/android/contacts/list/
ContactBrowseListContextMenuAdapter.java 58 } catch (ClassCastException e) {
100 } catch (ClassCastException e) {

Completed in 999 milliseconds

1 2 3 4 5 6 7