HomeSort by relevance Sort by last modified time
    Searched full:throw (Results 726 - 750 of 5185) sorted by null

<<21222324252627282930>>

  /frameworks/base/core/java/android/os/
MemoryFile.java 96 throw new NullPointerException("File descriptor is null.");
99 throw new IllegalArgumentException("Not a memory file.");
185 throw new IOException("Only the owner can make ashmem regions purgable.");
215 * Will throw an IOException if the file has been purged.
227 throw new IOException("Can't read from deactivated memory file.");
233 throw new IndexOutOfBoundsException();
240 * Will throw an IOException if the file has been purged.
251 throw new IOException("Can't write to deactivated memory file.");
257 throw new IndexOutOfBoundsException();
329 throw new IllegalArgumentException("Unsupported file mode: '" + mode + "'")
    [all...]
  /frameworks/base/graphics/java/android/renderscript/
Allocation.java 82 throw new IllegalArgumentException("Offset or Count out of bounds.");
85 throw new IllegalArgumentException("Array too small for allocation type.");
183 throw new IllegalStateException("allocation failed.");
226 throw new IllegalStateException("allocation failed.");
245 throw new IllegalStateException("Bad Type");
261 throw new IllegalStateException("Bad element.");
280 throw new IllegalStateException("Bad bitmap type.");
299 throw new IllegalStateException("Load failed.");
312 throw new IllegalStateException("Load failed.");
326 throw new IllegalStateException("Load failed.")
    [all...]
  /frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/
uexception.cpp 31 /// not throw anything, so you must wrap memory allocation routines
34 void exception::info (string& msgbuf, const char*) const throw()
77 bad_alloc::bad_alloc (size_t nBytes) throw()
85 void bad_alloc::info (string& msgbuf, const char* fmt) const throw()
118 libc_exception::libc_exception (const char* operation) throw()
127 libc_exception::libc_exception (const libc_exception& v) throw()
143 void libc_exception::info (string& msgbuf, const char* fmt) const throw()
178 file_exception::file_exception (const char* operation, const char* filename) throw()
190 void file_exception::info (string& msgbuf, const char* fmt) const throw()
256 stream_bounds_exception::stream_bounds_exception (const char* operation, const char* type, uoff_t offset, size_t expected, size_t remaining) throw()
    [all...]
  /cts/tests/tests/content/src/android/content/cts/
IntentFilter_MalformedMimeTypeExceptionTest.java 55 throw mMalformedMimeTypeException;
66 throw mMalformedMimeTypeException;
  /cts/tests/tests/content/src/android/content/pm/cts/
PackageManager_NameNotFoundExceptionTest.java 48 throw exception;
56 throw exception;
  /cts/tests/tests/graphics/src/android/graphics/cts/
LayerRasterizerTest.java 51 // it doesn't throw out any exception.
64 // it doesn't throw out any exception.
  /cts/tools/dx-tests/src/dxconvext/
ClassFileAssembler.java 93 if (!firstLine.startsWith(hdr)) throw new RuntimeException("wrong format:"+firstLine +" isDex=" + isDex);
112 throw new RuntimeException("problem while parsing .dfh or .cfh file: "+cfhF.getAbsolutePath(), e);
114 throw new RuntimeException("problem while parsing .dfh or .cfh file: "+cfhF.getAbsolutePath(), e);
116 throw new RuntimeException("problem while parsing .dfh or .cfh file: "+cfhF.getAbsolutePath(), e);
134 throw new RuntimeException(ex);
142 throw new RuntimeException("unexpected digest write: " + amt +
146 throw new RuntimeException(ex);
213 throw new RuntimeException("problem while writing file",e);
  /cts/tools/host/src/com/android/cts/
HostSideOnlyPackage.java 59 throw e;
74 throw e;
  /dalvik/dx/src/com/android/dx/cf/attrib/
AttExceptions.java 43 throw new MutabilityException("exceptions.isMutable()");
47 throw new NullPointerException("exceptions == null");
AttInnerClasses.java 41 throw new MutabilityException("innerClasses.isMutable()");
45 throw new NullPointerException("innerClasses == null");
AttLineNumberTable.java 42 throw new MutabilityException("lineNumbers.isMutable()");
46 throw new NullPointerException("lineNumbers == null");
BaseAnnotations.java 47 throw new MutabilityException("annotations.isMutable()");
51 throw new NullPointerException("annotations == null");
BaseLocalVariables.java 42 throw new MutabilityException("localVariables.isMutable()");
46 throw new NullPointerException("localVariables == null");
BaseParameterAnnotations.java 47 throw new MutabilityException(
52 throw new NullPointerException("parameterAnnotations == null");
  /dalvik/libcore/dom/src/test/java/org/w3c/domts/
LSDocumentBuilderFactory.java 96 throw new DOMTestIncompatibleException(null, setting);
145 throw new DOMTestIncompatibleException(ex.getTargetException(), setting);
148 throw new DOMTestIncompatibleException(ex, setting);
289 throw new DOMTestIncompatibleException(ex.getTargetException(), null);
292 throw new DOMTestIncompatibleException(ex, null);
299 throw new DOMTestIncompatibleException(null, settings[i]);
337 throw new DOMTestLoadException(ex.getTargetException());
340 throw new DOMTestLoadException(ex);
  /dalvik/libcore/luni/src/main/java/java/util/
StringTokenizer.java 130 * doesn't throw an {@code Exception}, but later calls to some methods might
131 * throw a {@code NullPointerException}.
146 * is null this constructor doesn't throw an {@code Exception}, but later
147 * calls to some methods might throw a {@code NullPointerException}.
164 throw new NullPointerException();
210 throw new NullPointerException();
247 throw new NullPointerException();
272 throw new NoSuchElementException();
  /dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/
OutputStreamWriterTest.java 53 fail("Should not throw UnsupportedEncodingException");
58 fail("Should not throw IOException");
  /dalvik/libcore/luni/src/test/java/tests/api/java/io/
CharConversionExceptionTest.java 40 throw new CharConversionException();
59 throw new CharConversionException("Something went wrong.");
FileNotFoundExceptionTest.java 40 throw new FileNotFoundException();
59 throw new FileNotFoundException("Something went wrong.");
IOExceptionTest.java 41 throw new IOException();
61 throw new IOException("Something went wrong.");
NotActiveExceptionTest.java 40 throw new NotActiveException();
59 throw new NotActiveException("Something went wrong.");
NotSerializableExceptionTest.java 40 throw new NotSerializableException();
59 throw new NotSerializableException("Something went wrong.");
ObjectStreamExceptionTest.java 52 throw new MyObjectStreamException();
71 throw new MyObjectStreamException("Something went wrong.");
StreamCorruptedExceptionTest.java 40 throw new StreamCorruptedException();
59 throw new StreamCorruptedException("Something went wrong.");
UTFDataFormatExceptionTest.java 40 throw new UTFDataFormatException();
59 throw new UTFDataFormatException("Something went wrong.");

Completed in 280 milliseconds

<<21222324252627282930>>