/dalvik/libcore/xml/src/main/java/org/xmlpull/v1/ |
XmlPullParserFactory.java | 21 * left to the right). If none found, it will throw an exception. 172 if (parserClasses == null) throw new XmlPullParserException 175 if (parserClasses.size() == 0) throw new XmlPullParserException 199 throw new XmlPullParserException ("could not create parser: "+issues); 216 throw new XmlPullParserException 220 throw new XmlPullParserException 238 throw new XmlPullParserException ("could not create serializer: "+issues); 269 if (is == null) throw new XmlPullParserException 285 throw new XmlPullParserException (null, null, e); 333 throw new XmlPullParserException ("incompatible class: "+name) [all...] |
/external/emma/core/java12/com/vladium/emma/data/ |
MergeProcessor.java | 72 throw new IllegalArgumentException ("not a file: [" + _file.getAbsolutePath () + "]"); 86 throw new IllegalStateException ("data path not set"); 182 // TODO: throw exception or exit quietly? 245 throw new EMMARuntimeException (ioe); 275 throw new EMMARuntimeException (ioe); 281 throw e; // re-throw 289 throw new EMMARuntimeException ("could not rename temporary file [" + tempDataOutFile.getAbsolutePath () + "] to [" + canonicalDataOutFile + "]: make sure the original file is not locked and can be deleted"); 319 throw new EMMARuntimeException (UNEXPECTED_FAILURE, 324 throw failure [all...] |
/external/emma/core/java12/com/vladium/emma/instr/ |
InstrProcessor.java | 95 throw new IllegalArgumentException ("not a file: [" + _file.getAbsolutePath () + "]"); 122 throw new IllegalArgumentException ("not a directory: [" + _outDir.getAbsolutePath () + "]"); 135 throw new IllegalArgumentException ("null input: mode"); 154 throw new IllegalStateException ("instrumentation path not set"); 159 throw new IllegalStateException ("output mode not set"); 164 throw new IllegalStateException ("output directory not set"); 203 throw new IllegalStateException ("output directory [" + canonicalOutDir + "] cannot be one of the instrumentation path directories (or a child thereof)"); 223 throw new EMMARuntimeException (IAppErrorCodes.OUT_MKDIR_FAILURE, new Object [] {dir.getAbsolutePath ()}); 228 throw new EMMARuntimeException (IAppErrorCodes.OUT_MKDIR_FAILURE, new Object [] {dir.getAbsolutePath ()}); 246 else throw new IllegalStateException ("invalid out mode state: " + m_outMode) [all...] |
/external/libpng/contrib/visupng/ |
cexcept.h | 69 The Try/Catch and Throw statements (described below) implicitly 97 Try/Catch/Throw macros, so it shouldn't be expensive or have side 118 The Try/Catch/Throw macros are capitalized in order to avoid 132 If a Throw that uses the same exception context as the Try/Catch is 137 such Throw is executed, then the assignment is not performed, and 151 from a Try clause, it will suffice to use Throw, and then return 163 Throw expression; 165 A Throw statement is very much like a return statement, except that 167 where the current function was called, Throw jumps back to the Catch 243 #define Throw \ [all...] |
/packages/apps/Email/src/org/apache/commons/io/input/ |
NullInputStream.java | 75 * which supports marking and does not throw EOFException.
91 * will throw an {@link EOFException} or return -1 when the
155 throw new UnsupportedOperationException("Mark not supported");
182 throw new IOException("Read after end of file");
221 throw new IOException("Read after end of file");
246 throw new UnsupportedOperationException("Mark not supported");
249 throw new IOException("No position has been marked");
252 throw new IOException("Marked position [" + mark +
273 throw new IOException("Skip after end of file");
324 throw new EOFException(); [all...] |
NullReader.java | 75 * which supports marking and does not throw EOFException.
91 * will throw an {@link EOFException} or return -1 when the
139 throw new UnsupportedOperationException("Mark not supported");
166 throw new IOException("Read after end of file");
205 throw new IOException("Read after end of file");
230 throw new UnsupportedOperationException("Mark not supported");
233 throw new IOException("No position has been marked");
236 throw new IOException("Marked position [" + mark +
257 throw new IOException("Skip after end of file");
308 throw new EOFException(); [all...] |
/dalvik/libcore/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/ |
HandlerTest.java | 163 fail("Should throw UnsupportedEncodingException!"); 185 fail("Should throw SecurityException!"); 196 fail("Should throw SecurityException!"); 250 fail("Should throw NullPointerException!"); 258 fail("Should throw NullPointerException!"); 279 fail("Should throw SecurityException!"); 304 fail("Should throw SecurityException!"); 314 fail("Should throw SecurityException!"); 390 fail("Should throw SecurityException!"); 400 fail("Should throw SecurityException!") [all...] |
/frameworks/base/awt/org/apache/harmony/awt/gl/font/ |
CommonGlyphVector.java | 321 throw new IndexOutOfBoundsException(Messages.getString("awt.43")); //$NON-NLS-1$ 344 throw new IndexOutOfBoundsException(Messages.getString("awt.43")); //$NON-NLS-1$ 374 throw new IndexOutOfBoundsException(Messages.getString("awt.43")); //$NON-NLS-1$ 395 throw new IndexOutOfBoundsException(Messages.getString("awt.43")); //$NON-NLS-1$ 410 throw new IndexOutOfBoundsException(Messages.getString("awt.43")); //$NON-NLS-1$ 429 throw new RuntimeException("Method is not implemented"); //$NON-NLS-1$ 451 throw new IndexOutOfBoundsException(Messages.getString("awt.43")); //$NON-NLS-1$ 494 throw new IndexOutOfBoundsException(Messages.getString("awt.43")); //$NON-NLS-1$ 530 throw new IndexOutOfBoundsException(Messages.getString("awt.43")); //$NON-NLS-1$ 603 throw new IndexOutOfBoundsException(Messages.getString("awt.44")); //$NON-NLS-1 [all...] |
/frameworks/base/core/java/android/view/ |
LayoutInflater.java | 174 throw new AssertionError("LayoutInflater not found."); 227 throw new IllegalStateException("A factory has already been set on this LayoutInflater"); 230 throw new NullPointerException("Given factory can not be null"); 251 * throw an {@link InflateException}. This filter will replace any previous filter set on this 363 throw new InflateException(parser.getPositionDescription() 378 throw new InflateException("<merge /> can be used only with a valid " 428 throw ex; 434 throw ex; 507 throw ie; 511 throw e [all...] |
/frameworks/base/obex/javax/obex/ |
HeaderSet.java | 260 throw new IllegalArgumentException("Count must be a Long"); 264 throw new IllegalArgumentException("Count must be between 0 and 0xFFFFFFFF"); 270 throw new IllegalArgumentException("Name must be a String"); 276 throw new IllegalArgumentException("Type must be a String"); 286 throw new IllegalArgumentException("Length must be a Long"); 290 throw new IllegalArgumentException("Length must be between 0 and 0xFFFFFFFF"); 296 throw new IllegalArgumentException("Time ISO 8601 must be a Calendar"); 302 throw new IllegalArgumentException("Time 4 Byte must be a Calendar"); 308 throw new IllegalArgumentException("Description must be a String"); 317 throw new IllegalArgumentException("Target must be a byte array") [all...] |
/packages/apps/Email/src/org/apache/commons/io/ |
FileUtils.java | 131 throw new IOException("File '" + file + "' exists but is a directory");
134 throw new IOException("File '" + file + "' cannot be read");
137 throw new FileNotFoundException("File '" + file + "' does not exist");
166 throw new IOException("File '" + file + "' exists but is a directory");
169 throw new IOException("File '" + file + "' cannot be written to");
175 throw new IOException("File '" + file + "' could not be created");
225 throw new IOException("Unable to set the last modification time for " + file);
293 throw new IllegalArgumentException(
297 throw new NullPointerException("Parameter 'fileFilter' is null");
428 throw new IOException("Can't compare directories, only files"); [all...] |
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/ |
AdbHelper.java | 92 throw new IOException("failed submitting request to ADB"); //$NON-NLS-1$ 96 throw new IOException("connection request rejected"); //$NON-NLS-1$ 101 throw ioe; 132 throw new IOException("failed submitting request to ADB"); //$NON-NLS-1$ 136 throw new IOException("connection request rejected: " + resp.message); //$NON-NLS-1$ 141 throw ioe; 279 throw new IOException("failed asking for frame buffer"); 327 throw new IOException("failed nudging"); 367 throw new IOException("failed submitting shell command"); 372 throw new IOException("sad result from adb: " + resp.message) [all...] |
/dalvik/libcore/luni/src/main/java/java/io/ |
PushbackInputStream.java | 70 throw new IllegalArgumentException(Msg.getString("K0058")); //$NON-NLS-1$ 79 throw new IOException(); 130 throw new IOException(); 171 throw new IOException(Msg.getString("K0059")); //$NON-NLS-1$ 176 throw new ArrayIndexOutOfBoundsException(Msg.getString("K002e", offset)); //$NON-NLS-1$ 180 throw new ArrayIndexOutOfBoundsException(Msg.getString("K0031", length)); //$NON-NLS-1$ 221 throw new IOException(Msg.getString("K0059")); //$NON-NLS-1$ 287 throw new IOException(Msg.getString("K007e")); //$NON-NLS-1$ 291 throw new ArrayIndexOutOfBoundsException(Msg.getString("K002e", offset)); //$NON-NLS-1$ 295 throw new ArrayIndexOutOfBoundsException(Msg.getString("K0031", length)); //$NON-NLS-1 [all...] |
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/ftp/ |
FtpURLConnection.java | 156 throw new IOException(Msg.getString("K0094")); //$NON-NLS-1$ 204 throw new IOException(Msg.getString("K0097", failureReason)); //$NON-NLS-1$ 250 throw new IOException(Msg.getString("K0095")); //$NON-NLS-1$ 285 throw new FileNotFoundException(Msg.getString("K0096", reply)); //$NON-NLS-1$ 354 throw new EOFException(); 373 throw (IOException)(new IOException("reply code is invalid").initCause(e)); 382 throw new IOException(Msg.getString("K0097", url.getHost())); //$NON-NLS-1$ 388 throw new IOException(Msg.getString("K0098", url.getHost())); //$NON-NLS-1$ 394 throw new IOException(Msg.getString("K0098", url.getHost())); //$NON-NLS-1$ 406 throw new IOException(Msg.getString("K0099")); //$NON-NLS-1 [all...] |
/dalvik/libcore/nio_char/src/test/java/tests/api/java/nio/charset/ |
CharsetEncoderTest.java | 249 fail("should throw null pointer exception"); 265 fail("should throw IllegalArgumentException"); 270 fail("should throw IllegalArgumentException"); 277 fail("should throw IllegalArgumentException"); 282 fail("should throw IllegalArgumentException"); 338 fail("should throw null pointer exception"); 345 fail("should throw IllegalArgumentException"); 351 fail("should throw IllegalArgumentException"); 358 fail("should throw IllegalArgumentException"); 372 fail("should throw IllegalArgumentException") [all...] |
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/provider/crypto/ |
SHA1withDSA_SignatureImpl.java | 66 throw new NullPointerException(Messages.getString("security.01")); //$NON-NLS-1$ 91 throw new InvalidKeyException( 104 throw new InvalidKeyException(Messages.getString("security.169")); //$NON-NLS-1$ 107 throw new InvalidKeyException(Messages.getString("security.16A")); //$NON-NLS-1$ 110 throw new InvalidKeyException(Messages.getString("security.16B")); //$NON-NLS-1$ 136 throw new InvalidKeyException( 149 throw new InvalidKeyException(Messages.getString("security.169")); //$NON-NLS-1$ 152 throw new InvalidKeyException(Messages.getString("security.16A")); //$NON-NLS-1$ 155 throw new InvalidKeyException(Messages.getString("security.16D")); //$NON-NLS-1$ 172 throw new NullPointerException(Messages.getString("security.83", "param")); //$NON-NLS-1$ //$NON-NLS-2 [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/xml/utils/ |
QName.java | 111 throw new IllegalArgumentException(XMLMessages.createXMLMessage( 118 throw new IllegalArgumentException(XMLMessages.createXMLMessage( 158 throw new IllegalArgumentException(XMLMessages.createXMLMessage( 165 throw new IllegalArgumentException(XMLMessages.createXMLMessage( 171 throw new IllegalArgumentException(XMLMessages.createXMLMessage( 208 throw new IllegalArgumentException(XMLMessages.createXMLMessage( 215 throw new IllegalArgumentException(XMLMessages.createXMLMessage( 292 throw new RuntimeException( 306 throw new IllegalArgumentException(XMLMessages.createXMLMessage( 375 throw new RuntimeException [all...] |
/external/emma/core/java12/com/vladium/util/ |
Files.java | 39 if (atfile == null) throw new IllegalArgumentException ("null input: atfile"); 90 if (path == null) throw new IllegalArgumentException ("null input: path"); 101 if (segment == null) throw new IllegalArgumentException ("null input: path[" + i + "]"); 129 if (pathname == null) throw new IllegalArgumentException ("null input: pathname"); 143 if (file == null) throw new IllegalArgumentException ("null input: file"); 167 if (file == null) throw new IllegalArgumentException ("null input: file"); 188 if (file == null) throw new IllegalArgumentException ("null input: file"); 205 if (file == null) throw new IllegalArgumentException ("null input: file"); 220 if (file == null) throw new IllegalArgumentException ("null input: file"); 236 if (file == null) throw new IllegalArgumentException ("null input: file") [all...] |
/external/guava/src/com/google/common/collect/ |
ImmutableMultimap.java | 256 * Guaranteed to throw an exception and leave the multimap unmodified. 261 throw new UnsupportedOperationException(); 265 * Guaranteed to throw an exception and leave the multimap unmodified. 271 throw new UnsupportedOperationException(); 275 * Guaranteed to throw an exception and leave the multimap unmodified. 280 throw new UnsupportedOperationException(); 292 * Guaranteed to throw an exception and leave the multimap unmodified. 297 throw new UnsupportedOperationException(); 301 * Guaranteed to throw an exception and leave the multimap unmodified. 306 throw new UnsupportedOperationException() [all...] |
/cts/tests/tests/content/src/android/content/pm/cts/ |
ComponentInfoTest.java | 81 fail("should throw NullPointerException."); 88 fail("should throw NullPointerException."); 124 fail("ComponentInfo#loadIcon() throw NullPointerException"); 159 fail("ComponentInfo#dumpBack() throw NullPointerException here."); 212 fail("ComponentInfo#dumpFront() throw NullPointerException here."); 249 fail("ComponentInfo#loadLabel throw NullPointerException"); 283 fail("ComponentInfo#writeToParcel() throw NullPointerException");
|
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Audio_Genres_MembersTest.java | 76 + "document related to the possible values of param volumeName. @throw clause " 87 fail("Should throw SQLException as the internal datatbase has no genre"); 123 fail("Should throw IllegalArgumentException because there is no column with name" 131 fail("Should throw IllegalArgumentException because there is no column with name" 139 fail("Should throw IllegalArgumentException because there is no column with name" 183 fail("Should throw SQLException because there is no column with name " 192 fail("Should throw SQLException because there is no column with name "
|
/cts/tests/tests/view/src/android/view/cts/ |
ViewStubTest.java | 109 // if the function draw() does not throw any exception, 147 fail("should throw IllegalStateException"); 227 fail("should not throw NullPointerException"); 290 " throw IllegalArgumentException when resource is invalid and " + 291 " throw IllegalStateException when parent is null") 299 fail("should throw IllegalArgumentException"); 308 fail("should throw IllegalStateException");
|
/dalvik/libcore/concurrent/src/main/java/java/util/concurrent/ |
FutureTask.java | 46 throw new NullPointerException(); 176 /** The exception to throw from get() */ 221 throw new CancellationException(); 223 throw new ExecutionException(exception); 229 throw new TimeoutException(); 231 throw new CancellationException(); 233 throw new ExecutionException(exception);
|
/dalvik/libcore/concurrent/src/test/java/tests/api/java/util/concurrent/ |
FutureTaskTest.java | 105 * setException causes get to throw ExecutionException 290 * Cancelling a task causes timed get in another thread to throw CancellationException 328 * Cancelling a task causes get in another thread to throw CancellationException 368 * A runtime exception in task causes get to throw ExecutionException 389 * A runtime exception in task causes timed get to throw ExecutionException 411 * Interrupting a waiting get causes it to throw InterruptedException 437 * Interrupting a waiting timed get causes it to throw InterruptedException
|
/dalvik/libcore/icu/src/main/java/com/ibm/icu4jni/text/ |
RuleBasedNumberFormat.java | 90 throw new NullPointerException(); 106 throw new NullPointerException(); 122 throw new NullPointerException(); 145 throw new NullPointerException(); 169 throw new NullPointerException(); 192 throw new NullPointerException(); 211 throw new NullPointerException();
|