/dalvik/libcore/security/src/main/java/java/security/cert/ |
PKIXParameters.java | 84 throw new NullPointerException(Messages.getString("security.6F")); //$NON-NLS-1$ 106 throw new NullPointerException(Messages.getString("security.41")); //$NON-NLS-1$ 108 // Will throw KeyStoreException if 111 throw new InvalidAlgorithmParameterException( 152 throw new NullPointerException( 302 throw new ClassCastException(Messages.getString("security.6B")); //$NON-NLS-1$ 419 throw new ClassCastException(Messages.getString("security.6C")); //$NON-NLS-1$ 557 throw new AssertionError(e); // android-changed 611 throw new InvalidAlgorithmParameterException( 616 throw new ClassCastException [all...] |
/dalvik/libcore/security/src/test/java/tests/api/javax/security/auth/ |
SubjectTest.java | 200 throw new SecurityException(); 251 throw new PrivilegedActionException(null); 263 throw new SecurityException(); 319 throw new SecurityException(); 373 throw new PrivilegedActionException(null); 385 throw new SecurityException(); 448 throw new SecurityException(); 579 throw new SecurityException(); 617 throw new SecurityException(); 673 throw new SecurityException() [all...] |
/dalvik/libcore/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
DriverManagerTest.java | 199 fail("Should throw SQLException"); 219 fail("Should throw SQLException."); 227 fail("Should throw SQLException."); 275 fail("Should throw SQLException"); 320 fail("Should throw SQLException."); 360 fail("Should throw SQLException"); 490 fail("Should throw NullPointerException."); 563 fail("Should throw SecurityException."); 608 fail("Should throw SecurityException."); 680 throw new SecurityException("Cannot set the sql Log Writer") [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/xalan/xslt/ |
ObjectFactory.java | 138 throw new ConfigurationError( 147 throw new ConfigurationError( 226 throw new ConfigurationError( 229 throw new ConfigurationError( 464 throw new ConfigurationError( 467 throw new ConfigurationError( 480 //throw security exception if the calling thread is not allowed to access the 491 throw e; 519 throw x; 522 throw x [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/xml/dtm/ |
ObjectFactory.java | 138 throw new ConfigurationError( 147 throw new ConfigurationError( 226 throw new ConfigurationError( 229 throw new ConfigurationError( 464 throw new ConfigurationError( 467 throw new ConfigurationError( 480 //throw security exception if the calling thread is not allowed to access the 491 throw e; 519 throw x; 522 throw x [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/xml/serializer/ |
ObjectFactory.java | 137 throw new ConfigurationError( 146 throw new ConfigurationError( 225 throw new ConfigurationError( 228 throw new ConfigurationError( 463 throw new ConfigurationError( 466 throw new ConfigurationError( 479 //throw security exception if the calling thread is not allowed to access the 490 throw e; 518 throw x; 521 throw x [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/xml/utils/ |
ObjectFactory.java | 138 throw new ConfigurationError( 147 throw new ConfigurationError( 226 throw new ConfigurationError( 229 throw new ConfigurationError( 464 throw new ConfigurationError( 467 throw new ConfigurationError( 480 //throw security exception if the calling thread is not allowed to access the 491 throw e; 519 throw x; 522 throw x [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/xpath/functions/ |
ObjectFactory.java | 138 throw new ConfigurationError( 147 throw new ConfigurationError( 226 throw new ConfigurationError( 229 throw new ConfigurationError( 464 throw new ConfigurationError( 467 throw new ConfigurationError( 480 //throw security exception if the calling thread is not allowed to access the 491 throw e; 519 throw x; 522 throw x [all...] |
/external/emma/core/java12/com/vladium/jcd/lib/ |
Types.java | 135 if (method == null) throw new IllegalArgumentException ("null input: method"); 191 throw new IllegalArgumentException ("malformed method descriptor: [" + methoddescriptor + "]"); 209 throw new IllegalArgumentException ("error parsing [" + methoddescriptor + "]: " + e.toString ()); 230 throw new IllegalArgumentException ("malformed method descriptor: [" + methoddescriptor + "]"); 274 throw new IllegalArgumentException ("[state = " + state + ", c = " + c + "] malformed method descriptor: [" + methoddescriptor + "]"); 305 throw new IllegalArgumentException ("malformed method descriptor: [" + methoddescriptor + "]"); 543 else throw new ClassNotFoundException ("unknown base type: " + c); 602 throw new IllegalArgumentException ("unknown primitive: " + c); 727 throw new IllegalArgumentException ("unknown base type: " + c); 737 throw new IllegalArgumentException ("consumed '" + c + "' while expecting '" + expected + "'") [all...] |
/frameworks/base/awt/java/awt/image/ |
AffineTransformOp.java | 128 throw new ImagingOpException(Messages.getString("awt.24F", xform)); //$NON-NLS-1$ 135 throw new IllegalArgumentException(Messages.getString("awt.250", interp)); //$NON-NLS-1$ 223 throw new RasterFormatException(Messages.getString("awt.251", dstWidth, dstHeight)); //$NON-NLS-1$ 256 throw new IllegalArgumentException(Messages.getString("awt.252")); //$NON-NLS-1$ 285 throw new ImagingOpException(Messages.getString("awt.21F")); //$NON-NLS-1$ 289 // throw new ImagingOpException ("Unable to transform source"); 306 throw new IllegalArgumentException(Messages.getString("awt.252")); //$NON-NLS-1$ 313 throw new IllegalArgumentException(Messages.getString("awt.253")); //$NON-NLS-1$ 318 throw new ImagingOpException(Messages.getString("awt.21F")); //$NON-NLS-1$ 321 // throw new ImagingOpException("Unable to transform source") [all...] |
/frameworks/base/obex/javax/obex/ |
ClientOperation.java | 137 throw new IOException("Operation has already ended"); 150 throw new IOException("Invalid response code from server"); 233 throw new IOException("no more input streams available"); 268 throw new IOException("no more output streams available"); 336 throw new IOException("Operation has already exchanged all data"); 340 throw new IOException("Headers may not be null"); 358 throw new IOException("Operation has completed"); 370 throw new IOException(mExceptionMessage); 373 throw new IOException("Operation has already ended"); 437 throw new IOException("OBEX Packet exceeds max packet size") [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
GsmCallTracker.java | 175 throw new CallStateException("cannot dial in current state"); 197 throw new CallStateException("cannot dial in current state"); 246 throw new CallStateException("phone not ringing"); 257 throw new CallStateException("phone not ringing"); 265 throw new CallStateException("cannot be in the incoming state"); 659 throw new CallStateException ("GsmConnection " + conn 686 throw new CallStateException ("GsmConnection " + conn 719 throw new CallStateException("no connections in call"); 744 throw new RuntimeException ("GsmCall " + call + 775 throw new CallStateException("no gsm index found") [all...] |
/dalvik/libcore/concurrent/src/main/java/java/util/concurrent/ |
ScheduledThreadPoolExecutor.java | 409 throw new NullPointerException(); 425 throw new NullPointerException(); 443 throw new NullPointerException(); 445 throw new IllegalArgumentException(); 468 throw new NullPointerException(); 470 throw new IllegalArgumentException(); 862 throw new NullPointerException(); [all...] |
/dalvik/libcore/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/ |
LoggerTest.java | 205 fail("Should throw MissingResourceException!"); 213 fail("Should throw MissingResourceException!"); 220 fail("Should throw MissingResourceException!"); 310 fail("Should throw MissingResourceException!"); 316 fail("Should throw MissingResourceException!"); 403 fail("Should throw NullPointerException!"); 409 fail("Should throw NullPointerException!"); 597 fail("Should throw NullPointerException!"); 620 fail("Should throw MissingResourceException!"); 631 fail("Should throw MissingResourceException!") [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/xml/dtm/ref/ |
DTMManagerDefault.java | 148 throw new DTMException(XMLMessages.createXMLMessage(XMLErrorResources.ER_NO_DTMIDS_AVAIL, null)); //"No more DTM IDs are available!"); 163 // %REVIEW% Should throw a more diagnostic error if we go over the max... 194 return n; // count on addDTM() to throw exception if out of range 410 throw re; 415 throw new org.apache.xml.utils.WrappedRuntimeException(e); 443 throw re; 447 throw new org.apache.xml.utils.WrappedRuntimeException(e); 477 throw new DTMException(XMLMessages.createXMLMessage(XMLErrorResources.ER_NOT_SUPPORTED, new Object[]{source})); //"Not supported: " + source); 494 throw new IllegalArgumentException(XMLMessages.createXMLMessage(XMLErrorResources.ER_NODE_NON_NULL, null)); //"node must be non-null for getDTMHandleFromNode!"); 576 throw new RuntimeException(XMLMessages.createXMLMessage(XMLErrorResources.ER_COULD_NOT_RESOLVE_NODE, nul (…) [all...] |
/external/guava/src/com/google/common/collect/ |
Iterators.java | 60 throw new NoSuchElementException(); 83 throw new NoSuchElementException(); 87 throw new IllegalStateException(); 285 throw new IllegalArgumentException(sb.toString()); 387 throw new NoSuchElementException(); 492 * input iterator supports it. The methods of the returned iterator may throw 513 throw new NoSuchElementException(); 578 throw new NoSuchElementException(); 749 throw new IndexOutOfBoundsException("position (" + position 761 throw new IndexOutOfBoundsException("position (" + positio [all...] |
/frameworks/base/core/java/android/database/ |
DatabaseUtils.java | 104 * will throw the exception for you if it had been written to the Parcel, 123 throw new FileNotFoundException(msg); 135 throw new OperationApplicationException(msg); 144 throw new IllegalArgumentException(msg); 146 throw new UnsupportedOperationException(msg); 148 throw new SQLiteAbortException(msg); 150 throw new SQLiteConstraintException(msg); 152 throw new SQLiteDatabaseCorruptException(msg); 154 throw new SQLiteFullException(msg); 156 throw new SQLiteDiskIOException(msg) [all...] |
/frameworks/base/core/java/com/google/android/mms/pdu/ |
PduPersister.java | 393 throw new MmsException("Content-Type must be set."); 444 throw new MmsException(e); 528 throw new MmsException("Bad uri: " + uri); 565 throw new MmsException("Error! ID of the message: -1."); 629 throw new MmsException( 633 throw new MmsException( 676 throw new MmsException("MIME type of the part must be set."); 707 throw new MmsException("Failed to persist part, return null."); 743 throw new MmsException("unable to update " + uri.toString()); 772 throw new MmsException(e) [all...] |
/build/tools/signapk/ |
SignApk.java | 142 throw ex; 234 throw new IOException("SignatureException: " + e); 244 throw new IOException("SignatureException: " + e); 320 throw new IllegalArgumentException("zip data already has an archive comment"); 339 throw new IllegalArgumentException("signature is too big for ZIP file comment"); 366 throw new IllegalArgumentException("found spurious EOCD header at " + i);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
InterpolatorTest.java | 165 fail("should throw ArrayStoreException"); 217 fail("should throw out ArrayStoreException"); 351 fail("should throw ArrayStoreException"); 359 fail("should throw IndexOutOfBoundsException"); 367 fail("should throw IndexOutOfBoundsException"); 375 fail("should throw ArrayStoreException");
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
BitmapDrawableTest.java | 459 fail("Should throw XmlPullParserException if the bitmap source can't be decoded."); 467 fail("Should throw XmlPullParserException if the bitmap src doesn't be defined."); 475 fail("Should throw NullPointerException if resource is null"); 481 fail("Should throw NullPointerException if attribute set is null"); 497 // if the function draw() does not throw any exception, we think it is right. 503 fail("Should throw NullPointerException.");
|
/cts/tests/tests/widget/src/android/widget/cts/ |
LinearLayoutTest.java | 87 fail("should throw NullPointerException."); 144 fail("LinearLayout.getBaseline() should throw exception here."); 183 fail("LinearLayout should throw IllegalArgumentException here."); 188 fail("LinearLayout should throw IllegalArgumentException here."); 251 " will throw a RuntimeException:" + 261 // generateLayoutParams() always throw a RuntimeException.
|
ToastTest.java | 74 fail("did not throw NullPointerException when context is null."); 149 fail("did not throw RuntimeException when did not set any views."); 450 fail("did not throw NullPointerException when context is null."); 481 fail("did not throw NullPointerException when context is null."); 506 fail("did not throw RuntimeException when resource id is negative."); 532 fail("did not throw RuntimeException when view is null.");
|
/dalvik/dx/src/com/android/dx/dex/file/ |
ClassDataItem.java | 82 throw new NullPointerException("thisClass == null"); 125 throw new NullPointerException("field == null"); 129 throw new UnsupportedOperationException( 144 throw new NullPointerException("field == null"); 157 throw new NullPointerException("method == null"); 170 throw new NullPointerException("method == null");
|
/dalvik/dx/src/com/android/dx/rop/code/ |
RegOps.java | 177 /** {@code x: Throwable :: throw(x)} */ 178 public static final int THROW = 35; 209 * throw {@code ClassCastException}) 348 case THROW: return "throw"; 396 throw new RuntimeException("Unrecognized IF regop: " + opcode);
|