/dalvik/tests/046-reflect/src/ |
Main.java | 68 throw new RuntimeException(); 102 System.out.println("GLITCH: didn't throw"); 117 throw new RuntimeException(); 186 throw new RuntimeException(); 326 System.out.println("ERROR: should throw InvocationTargetException"); 400 throw new NullPointerException("gratuitous throw!");
|
/external/emma/core/java12/com/vladium/emma/rt/ |
InstrClassLoader.java | 112 throw cnfe; 143 throw cnfe; 146 throw cnfe; 151 if (c == null) throw new ClassNotFoundException (name); 233 throw new ClassNotFoundException (name); 254 throw new ClassNotFoundException (name); 293 throw new ClassNotFoundException (name);
|
/external/emma/core/java12/com/vladium/util/ |
Property.java | 103 throw new IllegalArgumentException ("null properties: appNameLC"); 210 * does not throw 243 * does not throw 287 throw new IllegalArgumentException ("null input: file"); 384 throw re; // re-throw; 388 throw new RuntimeException ("exception while processing properties file [" + m_src.getAbsolutePath () + "]: " + e);
|
/external/icu4c/tools/tzcode/ |
tz2icu.cpp | 251 throw out_of_range(os.str()); 269 throw out_of_range(os.str()); 281 throw out_of_range(os.str()); 302 throw invalid_argument("TZ_ICU_MAGIC signature missing"); 309 throw invalid_argument("Bad Olson version info"); 315 throw invalid_argument("File version mismatch"); 330 throw invalid_argument("count mismatch between tzh_ttisgmtcnt, tzh_ttisdstcnt, tth_typecnt"); 356 throw out_of_range(os.str()); 411 throw invalid_argument("isdst does not reflect dstoffset"); 540 throw invalid_argument(os.str()) [all...] |
/frameworks/base/core/java/android/view/ |
FocusFinder.java | 263 throw new IllegalArgumentException("direction must be one of " 284 throw new IllegalArgumentException("direction must be one of " 302 throw new IllegalArgumentException("direction must be one of " 326 throw new IllegalArgumentException("direction must be one of " 351 throw new IllegalArgumentException("direction must be one of " 378 throw new IllegalArgumentException("direction must be one of " 477 throw new IllegalArgumentException("direction must be one of "
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppProvider.java | 185 throw ex; 194 throw ex; 210 throw new IllegalArgumentException("Unknown URI: " + uri); 235 throw new IllegalArgumentException("Unknown/Invalid URI " + uri); 328 throw new IllegalArgumentException("Unknown URI: " + uri); 422 throw new UnsupportedOperationException("Cannot update URI: " + uri); 459 throw new UnsupportedOperationException("Cannot delete URI: " + uri);
|
/packages/apps/IM/src/com/android/im/imps/ |
HttpDataChannel.java | 94 throw new ImException(ImErrorInfo.INVALID_HOST_NAME, 103 throw new ImException(ImErrorInfo.INVALID_HOST_NAME, 113 throw new ImException(ImErrorInfo.INVALID_HOST_NAME, 128 throw new ImException("Already connected"); 210 throw new IllegalStateException(); 219 throw new IllegalStateException(); 268 throw new IllegalStateException();
|
/packages/apps/Mms/src/com/android/mms/model/ |
SlideshowModel.java | 303 throw new MmsException(); 351 throw new UnsupportedOperationException("Operation not supported."); 396 throw new UnsupportedOperationException("Operation not supported."); 400 throw new UnsupportedOperationException("Operation not supported."); 432 throw new UnsupportedOperationException("Operation not supported."); 616 throw new ExceedMessageSizeException("No room for pictures"); 639 throw new ExceedMessageSizeException("After compressing pictures, message too big");
|
/dalvik/libcore/luni/src/main/java/java/net/ |
URL.java | 139 throw new Error(Msg.getString("K004b")); //$NON-NLS-1$ 211 throw new MalformedURLException(); 222 throw new MalformedURLException(e.toString()); 275 throw new MalformedURLException( 292 throw new MalformedURLException( 299 // any exception, throw MalformedURLException instead. 309 throw new MalformedURLException(e.toString()); 313 throw new MalformedURLException(org.apache.harmony.luni.util.Msg 385 throw new MalformedURLException(Msg.getString("K0325", port)); //$NON-NLS-1$ 393 throw new NullPointerException(Msg.getString("K00b3", "null")); //$NON-NLS-1$ //$NON-NLS-2 [all...] |
/dalvik/libcore/luni/src/main/java/java/util/ |
Hashtable.java | 123 throw new IllegalArgumentException("Capacity: " + capacity); 157 throw new IllegalArgumentException("Load factor: " + loadFactor); 219 throw new AssertionError(e); 320 throw new NullPointerException(); 369 throw new NullPointerException(); 403 throw new NullPointerException(); 687 throw new NullPointerException(); 732 throw new ConcurrentModificationException(); 734 throw new NoSuchElementException(); 748 throw new NoSuchElementException() [all...] |
Vector.java | 95 throw new IllegalArgumentException(); 200 throw new ArrayIndexOutOfBoundsException(location); 266 throw new AssertionError(e); // android-changed 329 throw new ArrayIndexOutOfBoundsException(location); 355 throw new NoSuchElementException(); 428 throw new NoSuchElementException(); 591 throw new ArrayIndexOutOfBoundsException(location); 622 throw new NoSuchElementException(); 678 throw new ArrayIndexOutOfBoundsException(location); 707 throw new ArrayIndexOutOfBoundsException(location) [all...] |
GregorianCalendar.java | 365 throw new IllegalArgumentException(); 701 throw new IllegalArgumentException(); 704 throw new IllegalArgumentException(); 707 throw new IllegalArgumentException(); 710 throw new IllegalArgumentException(); 714 throw new IllegalArgumentException(); 718 throw new IllegalArgumentException(); 722 throw new IllegalArgumentException(); 726 throw new IllegalArgumentException(); 730 throw new IllegalArgumentException() [all...] |
/dalvik/libcore/nio/src/main/java/java/nio/ |
CharBuffer.java | 51 throw new IllegalArgumentException(); 91 throw new IndexOutOfBoundsException(); 136 throw new NullPointerException(); 139 throw new IndexOutOfBoundsException(); 239 throw new IndexOutOfBoundsException(); 384 throw new IndexOutOfBoundsException(); 388 throw new BufferUnderflowException(); 544 throw new IndexOutOfBoundsException(); 548 throw new BufferOverflowException(); 574 throw new IllegalArgumentException() [all...] |
/dalvik/libcore/xml/src/test/java/tests/api/javax/xml/parsers/ |
SAXParserTest.java | 305 throw new RuntimeException("Unexpected exception", e); 320 throw new RuntimeException("Unexpected exception", e); 336 throw new RuntimeException("Unexpected exception", e); 608 throw new RuntimeException("Unexpected exception", e); 854 throw new RuntimeException("Unexpected exception", e); [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
GsmMmiCode.java | 256 throw new RuntimeException ("invalid call forward sc"); 272 throw new RuntimeException ("invalid call forward sc"); 310 throw new RuntimeException("unsupported MMI service code " + si); 350 throw new RuntimeException ("invalid call barring sc"); 370 throw new RuntimeException ("invalid call barring sc"); 547 throw new RuntimeException ("Invalid or Unsupported MMI Code"); 554 throw new RuntimeException ("Invalid or Unsupported MMI Code"); 568 throw new RuntimeException ("Invalid or Unsupported MMI Code"); 594 throw new RuntimeException ("invalid action"); 629 throw new RuntimeException ("Invalid or Unsupported MMI Code") [all...] |
/dalvik/vm/ |
Exception.c | 34 may or may not be associated with a throw. We have three situations to 38 application code, for immediate or deferred use with a "throw" statement. 46 location before handling any opcode that could cause the VM to throw 56 operations. Making it more costly to throw an exception is acceptable. 69 (d) Before doing something that might throw an exception, push a 83 - Throw an exception before re-saving the PC (i.e in the same opcode) 198 * Create a Throwable and throw an exception in the current thread (where 204 * is missing -- then every attempt to throw an exception will result 222 LOGV("THROW '%s' msg='%s' cause=%s\n", 240 * to throw ANY sort of exception, and we need to pack it in [all...] |
/external/guava/src/com/google/common/collect/ |
Multimaps.java | 463 throw new UnsupportedOperationException(); 539 throw new UnsupportedOperationException(); 544 throw new UnsupportedOperationException(); 549 throw new UnsupportedOperationException(); 553 throw new UnsupportedOperationException(); 557 throw new UnsupportedOperationException(); 562 throw new UnsupportedOperationException(); 595 throw new UnsupportedOperationException(); 625 throw new UnsupportedOperationException(); 629 throw new UnsupportedOperationException() [all...] |
/external/v8/src/ |
d8.js | 366 throw new Error('Unknown command "' + cmd + '"'); 450 throw new Error('Invalid object id.'); 474 throw new Error('Invalid step arguments.'); 482 throw new Error('Invalid step count argument "' + args[0] + '".'); 510 throw new Error('Invalid step argument "' + args[0] + '".'); 549 throw new Error('Invalid start frame argument "' + args[0] + '".'); 552 throw new Error('Invalid end frame argument "' + args[1] + '".'); 555 throw new Error('Invalid arguments start frame cannot be larger ' + 562 throw new Error('Invalid backtrace arguments.'); 607 throw new Error('Missing expression.') [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/xml/serializer/dom3/ |
LSSerializerImpl.java | 493 throw new DOMException(DOMException.NOT_FOUND_ERR, msg);
[all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/ |
BearerData.java | 455 throw new CodingException("cannot ASCII encode (" + msg.charAt(i) + ")"); 463 throw new CodingException("7bit ASCII encode failed: " + ex); 473 throw new CodingException("UTF-16 encode failed: " + ex); 509 throw new CodingException("7bit GSM encode failed: " + ex); 554 throw new CodingException("unsupported EMS user data encoding (" + 605 throw new CodingException("unsupported user data encoding (" + 634 throw new CodingException("encoded user data too large (" + 706 throw new CodingException("invalid SMS address, cannot convert to ASCII"); [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
HorizontalScrollViewTest.java | 131 fail("did not throw IllegalStateException when add more than one child"); 157 fail("did not throw IllegalStateException when add more than one child"); 172 fail("did not throw IllegalStateException when add more than one child"); 182 fail("did not throw IndexOutOfBoundsException when index is larger than 0"); 209 fail("did not throw IllegalStateException when add more than one child"); 220 fail("did not throw NullPointerException when LayoutParams is null."); 247 fail("did not throw IllegalStateException when add more than one child"); 258 fail("did not throw NullPointerException when LayoutParams is null."); 274 fail("did not throw IllegalStateException when add more than one child"); 284 fail("did not throw IndexOutOfBoundsException when index is larger than 0") [all...] |
/cts/tools/vm-tests/src/util/build/ |
BuildDalvikSuite.java | 347 throw new RuntimeException("no test method: " + method); 428 throw new RuntimeException("unknown test abbreviation:" 592 throw new RuntimeException( 687 throw new RuntimeException("error while reading to file: " 697 throw new RuntimeException( 734 throw new RuntimeException("failed to parse", e); 743 throw new RuntimeException("error while reading to file: " 795 throw new RuntimeException("failed to create directory: " + 822 throw new RuntimeException("error while writing to file: " 835 throw new IOException("failed to create directory: " + absPath) [all...] |
/dalvik/libcore/auth/src/main/java/javax/security/auth/ |
Subject.java | 123 throw new NullPointerException(); 490 throw new NullPointerException(Messages.getString("auth.09")); //$NON-NLS-1$ 516 throw new IllegalStateException(Messages.getString("auth.0A")); //$NON-NLS-1$ 588 throw new NullPointerException(); 591 throw new IllegalArgumentException(Messages.getString("auth.0B")); //$NON-NLS-1$ 644 throw new NullPointerException(); 661 throw new NullPointerException(); 671 throw new IllegalArgumentException( 691 throw new NullPointerException(); 727 throw new IllegalArgumentException() [all...] |
/dalvik/libcore/json/src/main/java/org/json/ |
JSONArray.java | 91 throw JSON.typeMismatch(object, "JSONArray"); 259 throw new JSONException("Value at " + index + " is null."); 263 throw new JSONException("Index " + index + " out of range [0.." + values.size() + ")"); 289 throw JSON.typeMismatch(index, object, "boolean"); 323 throw JSON.typeMismatch(index, object, "double"); 357 throw JSON.typeMismatch(index, object, "int"); 391 throw JSON.typeMismatch(index, object, "long"); 424 throw JSON.typeMismatch(index, object, "String"); 459 throw JSON.typeMismatch(index, object, "JSONArray"); 484 throw JSON.typeMismatch(index, object, "JSONObject") [all...] |
/dalvik/libcore/luni/src/main/java/java/io/ |
PrintStream.java | 74 throw new NullPointerException(); 95 throw new NullPointerException(); 122 throw new NullPointerException(); 127 throw new UnsupportedEncodingException(enc); 130 throw new UnsupportedEncodingException(enc); 175 throw new NullPointerException(); 178 throw new UnsupportedEncodingException(); 327 throw new NullPointerException(Msg.getString("K0351")); //$NON-NLS-1$ 676 throw new ArrayIndexOutOfBoundsException(Msg.getString("K002e", offset)); //$NON-NLS-1$ 680 throw new ArrayIndexOutOfBoundsException(Msg.getString("K0031", length)); //$NON-NLS-1 [all...] |