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

<<61626364656667686970>>

  /dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/macs/
ISO9797Alg3Mac.java 101 throw new IllegalArgumentException("MAC size must be multiple of 8");
106 throw new IllegalArgumentException("cipher must be instance of DESEngine");
130 throw new IllegalArgumentException(
156 throw new IllegalArgumentException(
190 throw new IllegalArgumentException("Can't have a negative input length!");
  /dalvik/libcore/xml/src/main/java/org/xml/sax/helpers/
XMLReaderFactory.java 157 throw new SAXException ("Can't create default XMLReader; "
192 throw new SAXException("SAX2 driver class " + className +
195 throw new SAXException("SAX2 driver class " + className +
198 throw new SAXException("SAX2 driver class " + className +
202 throw new SAXException("SAX2 driver class " + className +
  /dalvik/tests/044-proxy/src/
BasicTest.java 202 throw new IndexOutOfBoundsException("upchuck");
205 throw new InterruptedException("upcheck");
238 throw new RuntimeException("huh?");
257 throw ite.getTargetException();
259 throw new RuntimeException(iae);
  /external/apache-http/src/org/apache/http/client/protocol/
RequestAddCookies.java 81 throw new IllegalArgumentException("HTTP request may not be null");
84 throw new IllegalArgumentException("HTTP context may not be null");
107 throw new IllegalStateException("Target host not specified in HTTP context");
114 throw new IllegalStateException("Client connection not specified in HTTP context");
129 throw new ProtocolException("Invalid request URI: " +
  /external/apache-http/src/org/apache/http/impl/cookie/
BrowserCompatSpec.java 106 throw new IllegalArgumentException("Header may not be null");
109 throw new IllegalArgumentException("Cookie origin may not be null");
140 throw new MalformedCookieException("Header value is null");
155 throw new IllegalArgumentException("List of cookies may not be null");
158 throw new IllegalArgumentException("List of cookies may not be empty");
NetscapeDraftSpec.java 122 throw new IllegalArgumentException("Header may not be null");
125 throw new IllegalArgumentException("Cookie origin may not be null");
138 throw new MalformedCookieException("Header value is null");
149 throw new IllegalArgumentException("List of cookies may not be null");
152 throw new IllegalArgumentException("List of cookies may not be empty");
  /external/apache-http/src/org/apache/http/impl/io/
ContentLengthInputStream.java 101 throw new IllegalArgumentException("Input stream may not be null");
104 throw new IllegalArgumentException("Content length may not be negative");
124 // close after above so that we don't throw an exception trying
140 throw new IOException("Attempted read from closed stream.");
164 throw new IOException("Attempted read from closed stream.");
  /external/emma/core/java12/com/vladium/emma/report/
ReportDataModel.java 38 if (viewType >= m_views.length) throw new IllegalArgumentException ("invalid viewType: " + viewType);
49 throw new IllegalStateException ("source file data view requested for metadata with incomplete SourceFile debug info");
95 throw new EMMARuntimeException (IAppErrorCodes.CLASS_STAMP_MISMATCH,
140 if (mdata == null) throw new IllegalArgumentException ("null input: mdata");
141 if (cdata == null) throw new IllegalArgumentException ("null input: cdata");
  /external/emma/tools/java/com/vladium/tools/
ClassDep.java 48 throw new IllegalArgumentException ("usage: classpath output_file rootset_classname_1 [rootset_classname_2 ...]");
102 throw new IllegalArgumentException ("null input: rootSet");
105 throw new IllegalArgumentException ("null input: classPath");
148 throw new IllegalArgumentException ("class [" + Descriptors.vmNameToJavaName (classVMName) + "] not found in the input classpath");
191 throw new IllegalArgumentException ("null input: cls");
  /external/proguard/src/proguard/classfile/
ProgramClass.java 121 throw new ClassCastException("Expected Utf8Constant at index ["+constantIndex+"] in class ["+getName()+"], found ["+ex.getMessage()+"]");
133 throw new ClassCastException("Expected StringConstant at index ["+constantIndex+"] in class ["+getName()+"], found ["+ex.getMessage()+"]");
145 throw new ClassCastException("Expected ClassConstant at index ["+constantIndex+"] in class ["+getName()+"], found ["+ex.getMessage()+"]");
157 throw new ClassCastException("Expected NameAndTypeConstant at index ["+constantIndex+"] in class ["+getName()+"], found ["+ex.getMessage()+"]");
169 throw new ClassCastException("Expected NameAndTypeConstant at index ["+constantIndex+"] in class ["+getName()+"], found ["+ex.getMessage()+"]");
  /external/proguard/src/proguard/evaluation/
Variables.java 97 throw new IllegalArgumentException("Variable frame is too small ["+this.size+"] compared to other frame ["+other.size+"]");
118 throw new IllegalArgumentException("Variable frames have different sizes ["+this.size+"] and ["+other.size+"]");
177 throw new IndexOutOfBoundsException("Variable index ["+index+"] out of bounds ["+size+"]");
192 throw new IndexOutOfBoundsException("Variable index ["+index+"] out of bounds ["+size+"]");
214 throw new IndexOutOfBoundsException("Variable index ["+index+"] out of bounds ["+size+"]");
  /frameworks/base/awt/javax/imageio/metadata/
IIOMetadata.java 96 throw new IllegalArgumentException(
101 throw new IllegalArgumentException(
105 throw new IllegalArgumentException("extraMetadataFormatNames.length == 0!");
108 throw new IllegalArgumentException(
175 throw new IllegalStateException("hasController() == false!");
  /frameworks/base/core/java/android/app/
WallpaperInfo.java 97 throw new XmlPullParserException("No "
112 throw new XmlPullParserException(
133 throw new XmlPullParserException(
222 if (mAuthorResource <= 0) throw new NotFoundException();
247 if (mDescriptionResource <= 0) throw new NotFoundException();
  /frameworks/base/core/java/android/database/
CursorJoiner.java 79 throw new IllegalArgumentException(
133 throw new IllegalStateException("bad value for mCompareResult, "
158 throw new IllegalStateException("you must only call next() when hasNext() is true");
191 throw new UnsupportedOperationException("not implemented");
244 throw new IllegalArgumentException("you must specify an even number of values");
  /frameworks/base/core/java/android/pim/
EventRecurrence.java 118 throw new RuntimeException("bad day of week: " + day);
141 throw new RuntimeException("bad day of week: " + day);
163 throw new RuntimeException("bad day of week: " + day);
191 throw new RuntimeException("bad day of week: " + day);
222 throw new IllegalArgumentException("bad day argument: " + day);
  /frameworks/base/core/java/com/google/android/mms/pdu/
EncodedStringValue.java 56 throw new NullPointerException("EncodedStringValue: Text-string is null.");
122 throw new NullPointerException("EncodedStringValue: Text-string is null.");
165 throw new NullPointerException("Text-string is null.");
178 throw new NullPointerException(
202 throw new CloneNotSupportedException(e.getMessage());
  /frameworks/base/media/libdrm/mobile2/include/util/domcore/
NodeImpl.h 110 virtual const DOMString* getNodeValue() const throw (DOMException);
118 virtual void setNodeValue(DOMString* nodeValue) throw (DOMException);
197 NodeImpl* insertBefore(NodeImpl* newChild, NodeImpl* refChild) throw (DOMException);
209 NodeImpl* removeChild(NodeImpl* oldChild) throw (DOMException);
229 NodeImpl* appendChild(NodeImpl* newChild) throw (DOMException);
  /frameworks/base/opengl/java/android/opengl/
ETC1Util.java 67 throw new IllegalArgumentException("fallbackFormat must be GL_RGB");
71 throw new IllegalArgumentException("Unsupported fallbackType");
158 throw new IOException("Unable to read PKM file header.");
164 throw new IOException("Not a PKM file.");
174 throw new IOException("Unable to read PKM file data.");
  /packages/apps/Email/src/org/apache/james/mime4j/field/contenttype/parser/
ContentTypeParser.java 108 throw new ParseException();
111 throw new Error("Missing return statement in function");
132 try { jj_input_stream = new SimpleCharStream(stream, encoding, 1, 1); } catch(java.io.UnsupportedEncodingException e) { throw new RuntimeException(e); }
144 try { jj_input_stream.ReInit(stream, encoding, 1, 1); } catch(java.io.UnsupportedEncodingException e) { throw new RuntimeException(e); }
197 throw generateParseException();
  /packages/apps/Gallery3D/src/com/cooliris/media/
GridQuadMesh.java 46 throw new IllegalArgumentException("vertsAcross");
49 throw new IllegalArgumentException("vertsDown");
52 throw new IllegalArgumentException("vertsAcross * vertsDown >= 65536");
101 throw new IllegalArgumentException("i");
104 throw new IllegalArgumentException("j");
  /dalvik/libcore/concurrent/src/main/java/java/util/concurrent/
LinkedBlockingQueue.java 178 if (capacity <= 0) throw new IllegalArgumentException();
236 if (e == null) throw new NullPointerException();
258 throw ie;
283 if (e == null) throw new NullPointerException();
304 throw ie;
327 if (e == null) throw new NullPointerException();
362 throw ie;
399 throw ie;
606 throw new NullPointerException();
608 throw new IllegalArgumentException()
    [all...]
  /dalvik/libcore/json/src/main/java/org/json/
JSONTokener.java 93 throw syntaxError("End of input");
133 throw syntaxError("Unterminated comment");
215 throw syntaxError("Unterminated escape sequence");
226 throw syntaxError("Unterminated string");
243 throw syntaxError("Unterminated escape sequence");
281 throw syntaxError("Expected literal value");
361 throw syntaxError("Names cannot be null");
363 throw syntaxError("Names must be strings, but " + name
375 throw syntaxError("Expected ':' after " + name);
390 throw syntaxError("Unterminated object")
    [all...]
  /dalvik/libcore/luni/src/main/java/java/util/
Properties.java 199 throw new NullPointerException();
235 throw new NullPointerException();
290 throw new NullPointerException();
305 // throw an IllegalArgumentException
308 throw new IllegalArgumentException(Messages.getString("luni.08")); //$NON-NLS-1$
333 throw new IllegalArgumentException(Messages.getString("luni.09")); //$NON-NLS-1$
585 throw new NullPointerException();
597 throw new Error(e);
602 throw e;
606 throw e
    [all...]
  /dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/
ShortTest.java 113 assertTrue("Did not throw NumberFormatException decoding 123s",
123 assertTrue("Failed to throw exception for MAX_VALUE + 1", exception);
132 assertTrue("Failed to throw exception for MIN_VALUE - 1", exception);
141 assertTrue("Failed to throw exception for hex MAX_VALUE + 1", exception);
150 assertTrue("Failed to throw exception for hex MIN_VALUE - 1", exception);
182 assertTrue("Failed to throw exception for MAX_VALUE + 1", exception);
191 assertTrue("Failed to throw exception for MIN_VALUE - 1", exception);
242 "Failed to throw exception when passed hex string and base 2 radix");
253 "Failed to throw exception when passed string larger than 16 bits",
263 assertTrue("Failed to throw exception for MAX_VALUE + 1", exception)
    [all...]
  /dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/util/
CollectionsTest.java 113 fail("Should throw ClassCastException");
181 fail("Assert 0: synchronizedCollection(null) must throw NPE");
200 fail("Assert 0: synchronizedSortedMap(null) must throw NPE");
219 fail("Assert 0: synchronizedMap(map) must throw NPE");
238 fail("Assert 0: synchronizedSet(set) must throw NPE");
257 fail("Assert 0: synchronizedSortedSet(null) must throw NPE");
276 fail("Assert 0: unmodifiableCollection(null) must throw NPE");
295 fail("Assert 0: unmodifiableMap(null) must throw NPE");
314 fail("Assert 0: unmodifiableSet(null) must throw NPE");
333 fail("Assert 0: unmodifiableSortedMap(null) must throw NPE")
    [all...]

Completed in 710 milliseconds

<<61626364656667686970>>