/dalvik/libcore/text/src/main/java/java/text/ |
Bidi.java | 122 throw new IllegalArgumentException(Messages.getString("text.14")); //$NON-NLS-1$ 224 throw new IllegalArgumentException(); 229 throw new IllegalArgumentException(); 235 throw new IllegalArgumentException(Messages.getString( 240 throw new IllegalArgumentException(Messages.getString( 245 throw new IllegalArgumentException(Messages.getString( 287 throw new IllegalArgumentException(); 294 throw new IllegalArgumentException(); 404 throw new IllegalArgumentException(Messages.getString( 585 throw new IllegalArgumentException(Messages.getString("text.13", //$NON-NLS-1 [all...] |
RuleBasedCollator.java | 295 throw new NullPointerException(); 300 // throw new ParseException(Messages.getString("text.06"), 0); //$NON-NLS-1$ 312 throw (ParseException) e; 318 throw new ParseException(e.getMessage(), -1); 334 throw new NullPointerException(); 350 throw new NullPointerException(); 411 throw new NullPointerException(Messages.getString("text.08")); //$NON-NLS-1$
|
/dalvik/libcore/xml/src/main/java/org/apache/harmony/xml/ |
ExpatParser.java | 378 throw new ParseException("No input specified.", locator); 416 throw new ParseException(e.getMessage(), this.locator); 437 throw new ParseException(e.getMessage(), this.locator); 469 throw new ParseException(e.getMessage(), this.locator); 507 throw new ParseException(e.getMessage(), locator); 523 throw new ParseException(e.getMessage(), this.locator); 553 throw new ParseException(e.getMessage(), this.locator); 609 throw new IllegalStateException(OUTSIDE_START_ELEMENT); 712 throw new IllegalStateException(OUTSIDE_START_ELEMENT); 720 throw new IllegalStateException(OUTSIDE_START_ELEMENT) [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/xpath/ |
XPath.java | 182 throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_CANNOT_DEAL_XPATH_TYPE, new Object[]{Integer.toString(type)})); //"Can not deal with XPath type: " + type); 231 throw new RuntimeException(XSLMessages.createXPATHMessage( 348 throw te; 374 throw te; 423 throw te; 450 throw te; 521 * throw an exception. 540 * Tell the user of an assertion error, and probably throw an 557 throw new RuntimeException(fMsg); 562 * Tell the user of an error, and probably throw a [all...] |
/dalvik/libcore/xml/src/test/java/org/apache/harmony/xml/ |
ExpatParserTest.java | 58 throw new SAXException(); 72 throw new SAXException(); 85 throw new SAXException(); 112 throw new RuntimeException(e); 114 throw new RuntimeException(e); 173 throw new RuntimeException(e); 175 throw new RuntimeException(e); 323 throw new RuntimeException(e); 687 throw new AssertionError(); 835 throw new AssertionError(e) [all...] |
/dalvik/libcore/xml/src/test/java/tests/api/javax/xml/parsers/ |
DocumentBuilderTest.java | 190 throw new RuntimeException("Unexpected exception", e); 211 throw new RuntimeException("Unexpected exception", e); 230 throw new RuntimeException("Unexpected exception", e); 245 throw new RuntimeException("Unexpected exception", e); 261 throw new RuntimeException("Unexpected exception", e); 627 throw new RuntimeException("Unexpected exception", e); 647 throw new RuntimeException("Unexpected exception", e); 672 throw new RuntimeException("Unexpected exception", e); 688 throw new RuntimeException("Unexpected exception", e); 713 throw new RuntimeException("Unexpected exception", e) [all...] |
/frameworks/base/awt/java/awt/image/ |
BufferedImage.java | 254 throw new IllegalArgumentException(Messages.getString("awt.4D")); //$NON-NLS-1$ 259 throw new IllegalArgumentException(Messages.getString("awt.228")); //$NON-NLS-1$ 292 throw new IllegalArgumentException(Messages.getString("awt.227")); //$NON-NLS-1$ 305 throw new IllegalArgumentException(Messages.getString("awt.221")); //$NON-NLS-1$ 320 throw new IllegalArgumentException(Messages.getString("awt.222")); //$NON-NLS-1$ 326 throw new IllegalArgumentException(Messages.getString("awt.223")); //$NON-NLS-1$ 488 throw new IllegalArgumentException(Messages.getString("awt.224")); //$NON-NLS-1$ 502 throw new NullPointerException(Messages.getString("awt.225")); //$NON-NLS-1$ 643 throw new ArrayIndexOutOfBoundsException(Messages.getString("awt.226")); //$NON-NLS-1$ 717 // throw new RuntimeException("Not implemented!") [all...] |
ColorConvertOp.java | 283 throw new NullPointerException(Messages.getString("awt.25B")); //$NON-NLS-1$ 323 throw new NullPointerException(Messages.getString("awt.25C")); //$NON-NLS-1$ 352 throw new NullPointerException(Messages.getString("awt.25B")); //$NON-NLS-1$ 381 throw new IllegalArgumentException(Messages.getString("awt.25D")); //$NON-NLS-1$ 416 throw new IllegalArgumentException(Messages.getString("awt.25E")); //$NON-NLS-1$ 424 throw new IllegalArgumentException(Messages.getString("awt.25F")); //$NON-NLS-1$ 428 throw new IllegalArgumentException(Messages.getString("awt.260")); //$NON-NLS-1$ 471 throw new IllegalArgumentException(Messages.getString("awt.261")); //$NON-NLS-1$ 489 throw new IllegalArgumentException(Messages.getString("awt.262")); //$NON-NLS-1$ 504 throw new IllegalArgumentException(Messages.getString("awt.263")); //$NON-NLS-1 [all...] |
DirectColorModel.java | 215 throw new UnsupportedOperationException(Messages.getString("awt.214")); //$NON-NLS-1$ 341 throw new UnsupportedOperationException(Messages.getString("awt.214")); //$NON-NLS-1$ 387 throw new UnsupportedOperationException(Messages.getString("awt.214")); //$NON-NLS-1$ 412 throw new UnsupportedOperationException(Messages.getString("awt.214")); //$NON-NLS-1$ 466 throw new UnsupportedOperationException(Messages.getString("awt.22D", //$NON-NLS-1$ 494 throw new UnsupportedOperationException(Messages.getString("awt.214")); //$NON-NLS-1$ 520 throw new UnsupportedOperationException(Messages.getString("awt.214")); //$NON-NLS-1$ 546 throw new UnsupportedOperationException(Messages.getString("awt.214")); //$NON-NLS-1$ 572 throw new UnsupportedOperationException(Messages.getString("awt.214")); //$NON-NLS-1$ 598 throw new UnsupportedOperationException(Messages.getString("awt.214")); //$NON-NLS-1 [all...] |
/frameworks/base/awt/javax/imageio/ |
ImageWriter.java | 172 throw new NullPointerException("warning message should not be NULL"); 198 throw new IllegalArgumentException("baseName == null!"); 201 throw new IllegalArgumentException("keyword == null!"); 227 throw new IllegalArgumentException("Bundle not found!"); 235 throw new IllegalArgumentException("Resource is missing!"); 237 throw new IllegalArgumentException("Resource is not a String!"); 262 throw new IllegalArgumentException("output " + output + " is not supported"); 400 throw new IllegalStateException("getOutput() == null!"); 410 throw new IllegalStateException("getOutput() == null!"); 412 throw new UnsupportedOperationException("Unsupported write variant!") [all...] |
/frameworks/base/core/java/android/content/res/ |
AssetManager.java | 311 throw new RuntimeException("Assetmanager has been closed"); 320 throw new FileNotFoundException("Asset file: " + fileName); 327 throw new RuntimeException("Assetmanager has been closed"); 334 throw new FileNotFoundException("Asset file: " + fileName); 403 throw new RuntimeException("Assetmanager has been closed"); 412 throw new FileNotFoundException("Asset absolute file: " + fileName); 424 throw new RuntimeException("Assetmanager has been closed"); 432 throw new FileNotFoundException("Asset absolute file: " + fileName); 483 throw new RuntimeException("Assetmanager has been closed"); 492 throw new FileNotFoundException("Asset XML file: " + fileName) [all...] |
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
Helpers.java | 550 throw new IllegalArgumentException("syntax error"); 558 throw ex; 572 throw new IllegalArgumentException("syntax error, unmatched parenthese"); 591 throw new IllegalArgumentException("syntax error, expected column name"); 599 throw new IllegalArgumentException("syntax error, expected quoted string"); 609 throw new IllegalArgumentException("syntax error, expected NULL"); 616 throw new IllegalArgumentException("syntax error after column name"); 725 throw new IllegalArgumentException("Unexpected character after !"); 758 throw new IllegalArgumentException("unrecognized column or keyword"); 775 throw new IllegalArgumentException("unterminated string") [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
SimpleAdapterTest.java | 149 fail("Should throw IndexOutOfBoundsException if index is negative"); 155 fail("Should throw IndexOutOfBoundsException if index is beyond the list's size"); 225 fail("Should throw IndexOutOfBoundsException if index is negative"); 231 fail("Should throw IndexOutOfBoundsException if index is beyond the list's size"); 308 fail("Should throw IndexOutOfBoundsException if index is negative"); 314 fail("Should throw IndexOutOfBoundsException if index is beyond the list's size"); 387 fail("Should throw NullPointerException if the uri or value is null");
|
/dalvik/dx/src/com/android/dx/cf/code/ |
BasicBlocker.java | 93 throw new NullPointerException("method == null"); 160 * These instructions can all throw, so they have to end 171 * throw, but not the other types. 207 * end its block (since it can throw, and possible-throws 349 throw new SimException("flow of control falls off " + 418 * opcodes that possibly throw. This method should be called after calling 425 * unconditional throw)
|
/dalvik/libcore/archive/src/main/java/java/util/zip/ |
ZipFile.java | 97 throw new IllegalArgumentException(); 164 throw new IllegalStateException("Zip File closed."); 204 throw new NullPointerException(); 284 * itself, plus apparently sometimes people throw random junk on the end 302 throw new ZipException("too short to be Zip"); 318 throw new ZipException("EOCD not found; not a Zip archive?"); 344 throw new ZipException("spanned archives not supported");
|
/dalvik/libcore/concurrent/src/main/java/java/util/concurrent/ |
DelayQueue.java | 294 throw new NullPointerException(); 296 throw new IllegalArgumentException(); 322 throw new NullPointerException(); 324 throw new IllegalArgumentException(); 458 * never throw {@link ConcurrentModificationException}, and 489 throw new NoSuchElementException(); 496 throw new IllegalStateException();
|
/dalvik/libcore/concurrent/src/test/java/tests/api/java/util/concurrent/ |
JSR166TestCase.java | 63 * methods as there are exceptions the method can throw. Sometimes 272 * threadFail with message "should throw exception" 277 fail("should throw exception"); 280 throw e; 317 * fail with message "should throw exception" 320 fail("Should throw exception"); 396 public String call() { throw new NullPointerException(); }
|
/dalvik/libcore/luni/src/main/java/java/net/ |
URI.java | 166 throw new URISyntaxException(path, Msg.getString("K0302")); //$NON-NLS-1$ 270 throw new URISyntaxException(path, Msg.getString("K0302")); //$NON-NLS-1$ 335 throw new URISyntaxException(uri, Msg.getString("K0342"), //$NON-NLS-1$ 341 throw new URISyntaxException(uri, Msg.getString("K0303"), //$NON-NLS-1$ 373 throw new URISyntaxException(uri, Msg 412 throw new URISyntaxException(uri, Msg.getString("K0305"), 0); //$NON-NLS-1$ 418 throw new URISyntaxException(uri, Msg.getString("K0305"), index //$NON-NLS-1$ 428 throw new URISyntaxException(uri, Msg.getString("K0306", e //$NON-NLS-1$ 438 throw new URISyntaxException(uri, Msg.getString("K0307", e //$NON-NLS-1$ 448 throw new URISyntaxException(uri, Msg.getString("K0308", e //$NON-NLS-1 [all...] |
/dalvik/libcore/luni/src/main/java/java/util/ |
UUID.java | 165 throw new NullPointerException(); 173 throw new AssertionError(e); 212 throw new NullPointerException(); 228 throw new IllegalArgumentException(Msg.getString("KA014") + uuid); //$NON-NLS-1$ 314 throw new UnsupportedOperationException(); 330 throw new UnsupportedOperationException(); 346 throw new UnsupportedOperationException();
|
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/net/ |
PlainDatagramSocketImpl.java | 263 throw new SocketTimeoutException(e.getMessage()); 304 // we don't throw an exception for IP_TOS even if the platform 307 throw e; 319 throw new SocketException("getLocalHost(): " + e.toString()); 324 throw new SocketException(val + " != getLocalHost(): " + local); 372 throw new SocketException(Msg.getString("K0317", inetAddr.getHostName())); //$NON-NLS-1$ 404 throw new SocketTimeoutException(e.toString());
|
/dalvik/libcore/luni/src/test/java/tests/api/java/io/ |
BufferedReaderTest.java | 257 /* Closed reader should throw IOException reading zero bytes */ 302 throw new IOException("Read past end of data"); 308 throw new IOException("Read past end of data"); 346 fail("should throw IndexOutOfBoundsException"); 353 fail("should throw IndexOutOfBoundsException"); 360 fail("should throw IndexOutOfBoundsException"); 368 fail("should throw IndexOutOfBoundsException");
|
/dalvik/libcore/nio/src/main/java/java/nio/channels/ |
Channels.java | 246 throw new ArrayIndexOutOfBoundsException(); 253 throw new IllegalBlockingModeException(); 276 throw new ArrayIndexOutOfBoundsException(); 310 throw new ArrayIndexOutOfBoundsException(); 317 throw new IllegalBlockingModeException(); 344 throw new ClosedChannelException(); 381 throw new ClosedChannelException();
|
/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
OpenSSLSessionImpl.java | 113 throw new IOException("Invalid session data"); 205 if (bytes == null) throw new SSLPeerUnverifiedException("No certificate available"); 215 throw new SSLPeerUnverifiedException(e.getMessage()); 267 throw new SSLPeerUnverifiedException("No peer certificate"); 374 throw new IllegalArgumentException("Parameter is null"); 420 throw new IllegalArgumentException("Parameter is null"); 450 throw new IllegalArgumentException("Parameter is null");
|
SSLRecordProtocol.java | 208 throw new AlertException( 219 throw new AlertException( 355 throw new AlertException(AlertProtocol.UNEXPECTED_MESSAGE, 365 throw new AlertException(AlertProtocol.UNEXPECTED_MESSAGE, 378 throw new AlertException(AlertProtocol.RECORD_OVERFLOW, 394 throw new AlertException(AlertProtocol.DECOMPRESSION_FAILURE, 424 throw new AlertException(AlertProtocol.UNEXPECTED_MESSAGE,
|
/dalvik/libcore/xml/src/main/java/javax/xml/parsers/ |
DocumentBuilderFactory.java | 72 // throw new FactoryConfigurationError("factoryClassName cannot be null."); 81 // throw new FactoryConfigurationError(e.getException(), e.getMessage()); 376 throw new UnsupportedOperationException( 397 * (or if the error handler is not set, ignore them or throw them), just 442 throw new UnsupportedOperationException( 471 throw new UnsupportedOperationException( 493 throw new UnsupportedOperationException(
|