/dalvik/libcore/xml/src/main/java/org/apache/xpath/jaxp/ |
XPathExpressionImpl.java | 62 // extensions function need to throw XPathFunctionException 173 throw new NullPointerException( fmsg ); 181 throw new IllegalArgumentException ( fmsg ); 189 throw new XPathExpressionException ( npe ); 193 throw (javax.xml.xpath.XPathFunctionException)nestedException; 195 // For any other exceptions we need to throw 197 throw new XPathExpressionException( te); 278 throw new NullPointerException ( fmsg ); 286 throw new IllegalArgumentException ( fmsg ); 298 throw new XPathExpressionException ( e ) [all...] |
/external/apache-http/src/org/apache/http/impl/auth/ |
DigestScheme.java | 129 throw new MalformedChallengeException("missing realm in challange"); 132 throw new MalformedChallengeException("missing nonce in challange"); 154 throw new MalformedChallengeException("None of the qop methods is supported"); 224 throw new IllegalArgumentException("Credentials may not be null"); 227 throw new IllegalArgumentException("HTTP request may not be null"); 247 throw new UnsupportedDigestAlgorithmException( 268 throw new IllegalStateException("URI may not be null"); 271 throw new IllegalStateException("Realm may not be null"); 274 throw new IllegalStateException("Nonce may not be null"); 287 throw new AuthenticationException [all...] |
/frameworks/base/core/java/com/android/internal/net/ |
DNParser.java | 96 throw new IOException(ERROR_PARSE_ERROR); 110 throw new IOException(ERROR_PARSE_ERROR); 143 throw new IOException(ERROR_PARSE_ERROR); 173 throw new IOException(ERROR_PARSE_ERROR); 207 throw new IOException(ERROR_PARSE_ERROR); 271 throw new IOException(ERROR_PARSE_ERROR); 352 throw new IOException(ERROR_PARSE_ERROR); 365 throw new IOException(ERROR_PARSE_ERROR); 376 throw new IOException(ERROR_PARSE_ERROR); 434 throw new IOException(ERROR_PARSE_ERROR) [all...] |
/frameworks/base/tests/CoreTests/android/core/ |
HeapTest.java | 157 throw new RuntimeException("Test failed: soft refs not cleared"); 260 throw new RuntimeException("Test failed: " + 321 throw new RuntimeException("Test failed: " + 339 throw new RuntimeException("Test failed: " + 343 throw new RuntimeException("Test failed: " + 372 throw new RuntimeException("Test failed: " + 462 throw new RuntimeException("Test failed: " + 482 throw new RuntimeException("Test failed: " + 507 throw new RuntimeException("Test failed: " + 535 throw new RuntimeException("Test failed: " [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
SimpleExpandableListAdapterTest.java | 173 fail("Should throw exception if group position is negative"); 179 fail("Should throw exception if child position is negative"); 185 fail("Should throw exception if group position is beyond the group list'szie"); 191 fail("Should throw exception if child position is beyond the child list'szie"); 202 @ToBeFixed(explanation = "Should throw IndexOutOfBoundsException if groupPosition " 265 fail("Should throw exception if group position is negative"); 271 fail("Should throw exception if child position is negative"); 277 fail("Should throw exception if group position is beyond the group list'szie"); 283 fail("Should throw exception if child position is beyond the child list'szie"); 337 fail("Should throw exception if group position is negative") [all...] |
/dalvik/libcore/nio_char/src/main/java/java/nio/charset/ |
CharsetEncoder.java | 172 throw new IllegalArgumentException(Messages.getString("niochar.02")); //$NON-NLS-1$ 176 throw new IllegalArgumentException(Messages.getString("niochar.03")); //$NON-NLS-1$ 203 * otherwise it will throw an <code>IllegalStateException</code>. 225 throw new IllegalStateException(Messages.getString("niochar.0B")); //$NON-NLS-1$ 249 * it will throw an <code>IllegalStateException</code>. 344 throw new MalformedInputException(result.length()); 346 throw new UnmappableCharacterException(result.length()); 355 * checks the result whether it needs to throw CharacterCodingException. 360 throw new MalformedInputException(result.length()); 362 throw new UnmappableCharacterException(result.length()) [all...] |
/dalvik/libcore/nio_char/src/test/java/tests/api/java/nio/charset/ |
CharsetDecoderTest.java | 134 fail("should throw IllegalArgumentException"); 139 fail("should throw IllegalArgumentException"); 146 fail("should throw IllegalArgumentException"); 151 fail("should throw IllegalArgumentException"); 163 fail("should throw null pointer exception"); 178 fail("should throw null pointer exception"); 192 fail("should throw null pointer exception"); 197 fail("should throw null pointer exception"); 202 fail("should throw illegal argument exception"); 221 fail("should throw null pointer exception") [all...] |
/dalvik/libcore/xml/src/main/java/javax/xml/validation/ |
SchemaFactory.java | 194 throw new IllegalArgumentException(schemaLanguage); 214 // throw new NullPointerException(); 217 // throw new IllegalArgumentException("factoryClassName cannot be null."); 224 // throw new IllegalArgumentException(schemaLanguage); 268 throw new NullPointerException("the name parameter is null"); 270 throw new SAXNotRecognizedException(name); 317 throw new NullPointerException("the name parameter is null"); 319 throw new SAXNotRecognizedException(name); 345 throw new NullPointerException("the name parameter is null"); 347 throw new SAXNotRecognizedException(name) [all...] |
/dalvik/libcore/xml/src/main/java/org/xml/sax/helpers/ |
ParserAdapter.java | 87 throw new 91 throw new 96 throw new 101 throw new 106 throw new 140 throw new 199 throw new SAXNotRecognizedException("Feature: " + name); 228 throw new SAXNotRecognizedException("Feature: " + name); 249 throw new SAXNotRecognizedException("Property: " + name); 269 throw new SAXNotRecognizedException("Property: " + name) [all...] |
/external/emma/core/java12/com/vladium/emma/data/ |
DataFactory.java | 54 if (file == null) throw new IllegalArgumentException ("null input: file"); 62 if (data == null) throw new IllegalArgumentException ("null input: data"); 63 if (file == null) throw new IllegalArgumentException ("null input: file"); 68 throw new IOException ("could not delete file [" + file.getAbsolutePath () + "]"); 77 if (data == null) throw new IllegalArgumentException ("null input: data"); 78 if (file == null) throw new IllegalArgumentException ("null input: file"); 83 throw new IOException ("could not delete file [" + file.getAbsolutePath () + "]"); 92 if (data == null) throw new IllegalArgumentException ("null input: data"); 93 if (file == null) throw new IllegalArgumentException ("null input: file"); 98 throw new IOException ("could not delete file [" + file.getAbsolutePath () + "]") [all...] |
/external/emma/core/java12/com/vladium/util/ |
SoftValueMap.java | 75 throw new IllegalArgumentException ("negative input: initialCapacity [" + initialCapacity + "]"); 77 throw new IllegalArgumentException ("loadFactor not in (0.0, 1.0] range: " + loadFactor); 79 throw new IllegalArgumentException ("readClearCheckFrequency not in [1, +inf) range: " + readClearCheckFrequency); 81 throw new IllegalArgumentException ("writeClearCheckFrequency not in [1, +inf) range: " + writeClearCheckFrequency); 101 throw new UnsupportedOperationException ("not implemented: equals"); 106 throw new UnsupportedOperationException ("not implemented: hashCode"); 157 if (key == null) throw new IllegalArgumentException ("null input: key"); 223 if (key == null) throw new IllegalArgumentException ("null input: key"); 224 if (value == null) throw new IllegalArgumentException ("null input: value"); 295 if (key == null) throw new IllegalArgumentException ("null input: key") [all...] |
/packages/apps/Email/src/org/apache/commons/io/ |
FileSystemUtils.java | 72 throw new IOException("os.name not found");
190 throw new IllegalArgumentException("Path must not be empty");
200 throw new IllegalStateException("Unsupported operating system");
202 throw new IllegalStateException(
238 throw new IOException(
280 throw new IOException(
307 throw new IllegalArgumentException("Path must not be empty");
325 // unknown problem, throw exception
326 throw new IOException(
340 throw new IOException( [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/xpath/ |
NodeSet.java | 271 throw new RuntimeException( 326 throw new RuntimeException( 383 throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_NODESET_NOT_MUTABLE, null)); //"This NodeSet is not mutable!"); 401 throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_NODESET_NOT_MUTABLE, null)); //"This NodeSet is not mutable!"); 417 throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_NODESET_NOT_MUTABLE, null)); //"This NodeSet is not mutable!"); 435 throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_NODESET_NOT_MUTABLE, null)); //"This NodeSet is not mutable!"); 475 throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_NODESET_NOT_MUTABLE, null)); //"This NodeSet is not mutable!"); 492 throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_NODESET_NOT_MUTABLE, null)); //"This NodeSet is not mutable!"); 520 throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_NODESET_NOT_MUTABLE, null)); //"This NodeSet is not mutable!"); 548 throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_NODESET_NOT_MUTABLE, nu (…) [all...] |
/external/proguard/src/proguard/ |
ConfigurationParser.java | 112 else if (ConfigurationConstants.RESOURCEJARS_OPTION .startsWith(nextWord)) throw new ParseException("The '-resourcejars' option is no longer supported. Please use the '-injars' option for all input"); 170 throw new ParseException("Unknown option " + reader.locationDescription()); 256 throw new ParseException("Expecting separating '" + ConfigurationConstants.ARGUMENT_SEPARATOR_KEYWORD + 295 throw new ParseException("Expecting class path separator '" + ConfigurationConstants.JAR_SEPARATOR_KEYWORD + 311 throw new ParseException("Unsupported java version " + reader.locationDescription()); 336 throw new ParseException("Expecting integer argument instead of '" + nextWord + 460 throw new ParseException("Expecting keyword '" + ConfigurationConstants.ALLOW_SHRINKING_SUBOPTION + 576 throw new ParseException("Conflicting class access modifiers for '" + strippedWord + 654 throw new ParseException("Expecting opening '" + ConfigurationConstants.OPEN_KEYWORD + [all...] |
/dalvik/libcore/luni/src/test/java/tests/api/java/io/ |
SerializationStressTest2.java | 841 throw err; 880 throw err; 918 throw err; [all...] |
/dalvik/libcore/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/ |
LogManagerTest.java | 158 fail("add null should throw NullPointerException"); 164 fail("get null should throw NullPointerException"); 499 * case 2: test throw NullPointerException 529 // case 2: test throw NullPointerException 532 fail("get null should throw NullPointerException"); 663 fail("should throw securityException"); 717 fail("should throw securityException"); 722 fail("should throw SecurityException"); 727 fail("should throw SecurityException"); 732 fail("should throw SecurityException") [all...] |
/dalvik/libcore/luni/src/main/java/java/net/ |
Socket.java | 125 throw new IllegalArgumentException(Msg.getString("KA023")); //$NON-NLS-1$ 398 throw new IllegalArgumentException(Msg.getString("K0032")); //$NON-NLS-1$ 456 throw new SocketException(Msg.getString("K0321")); //$NON-NLS-1$ 513 throw new SocketException(Msg.getString("KA00f")); //$NON-NLS-1$ 634 throw new SocketException(Msg.getString("K0044")); //$NON-NLS-1$ 653 throw new IllegalArgumentException(Msg.getString("K0035")); //$NON-NLS-1$ 673 throw new IllegalArgumentException(Msg.getString("K0035")); //$NON-NLS-1$ 694 throw new IllegalArgumentException(Msg.getString("K0045")); //$NON-NLS-1$ 728 throw new IllegalArgumentException(Msg.getString("K0036")); //$NON-NLS-1$ 768 throw new IllegalArgumentException(Msg.getString("K0046")); //$NON-NLS-1 [all...] |
/frameworks/base/awt/java/awt/image/ |
ComponentColorModel.java | 225 throw new IllegalArgumentException(Messages.getString("awt.215")); //$NON-NLS-1$ 339 throw new IllegalArgumentException(Messages.getString("awt.213")); //$NON-NLS-1$ 345 throw new IllegalArgumentException(Messages.getString("awt.216")); //$NON-NLS-1$ 387 throw new UnsupportedOperationException(Messages.getString("awt.217")); //$NON-NLS-1$ 530 throw new IllegalArgumentException(Messages.getString("awt.213")); //$NON-NLS-1$ 710 throw new UnsupportedOperationException(Messages.getString("awt.219")); //$NON-NLS-1$ 800 throw new UnsupportedOperationException(Messages.getString("awt.219")); //$NON-NLS-1$ 818 throw new IllegalArgumentException(Messages.getString("awt.213")); //$NON-NLS-1$ 826 throw new IllegalArgumentException(Messages.getString("awt.218")); //$NON-NLS-1$ [all...] |
/build/tools/droiddoc/test/generics/src/com/android/generics/ |
FooBar.java | 30 throw new RuntimeException("!");
|
/build/tools/droiddoc/test/stubs/expected/com/android/stubs/ |
Types.java | 15 protected Types() { throw new RuntimeException("Stub!"); }
|
/cts/tests/src/android/app/cts/ |
ActivityManagerStubCrashActivity.java | 35 throw new NullPointerException("Expected NPE.");
|
/cts/tests/tests/os/src/android/os/cts/ |
MemoryFileTest.java | 86 fail("MemoryFile should throw IndexOutOfBoundsException here."); 136 + "should throw out exception") 211 fail("MemoryFile should throw IndexOutOfBoundsException here."); 234 fail("Reading from closed MemoryFile did not throw an exception.");
|
ParcelFileDescriptor_AutoCloseInputStreamTest.java | 53 fail("Failed to throw exception.");
|
ParcelFileDescriptor_AutoCloseOutputStreamTest.java | 55 fail("Failed to throw exception.");
|
RemoteCallbackListTest.java | 99 + " 2. Register null, it will throw NPE.", 135 fail("Should throw NullPointerException"); 142 fail("Should throw NullPointerException"); 187 fail("Throw InterruptedException: " + e.getMessage());
|