Searched defs:message (Results 76 - 100 of 113) sorted by relevance

12345

/libcore/luni/src/main/java/javax/xml/transform/
H A DTransformerException.java122 * @param message The error or warning message.
124 public TransformerException(String message) { argument
126 super(message);
151 * @param message The error or warning message, or null to
152 * use the message from the embedded exception.
155 public TransformerException(String message, Throwable e) { argument
157 super(((message == null) || (message
175 TransformerException(String message, SourceLocator locator) argument
191 TransformerException(String message, SourceLocator locator, Throwable e) argument
[all...]
/libcore/luni/src/test/java/libcore/java/io/
H A DObjectOutputStreamTest.java43 private String message; field in class:ObjectOutputStreamTest.CallsCloseInWriteObjectMethod
45 public CallsCloseInWriteObjectMethod(String message) { argument
46 this.message = message;
50 oos.writeObject(message);
55 message = (String) ois.readObject();
69 return message.equals(that.message);
74 return message.hashCode();
/libcore/dalvik/test-rules/src/main/java/dalvik/system/
H A DCloseGuardSupport.java264 public void report(String message, Throwable allocationSite) { argument
/libcore/luni/src/main/java/org/w3c/dom/
H A DDOMException.java34 public DOMException(short code, String message) { argument
35 super(message);
/libcore/luni/src/main/native/
H A Djava_util_regex_Pattern.cpp64 jstring message = env->NewStringUTF(regexDetailMessage(status)); local
66 jobject exception = env->NewObject(exceptionClass, method, message, pattern, error.offset);
/libcore/ojluni/src/main/java/java/time/zone/
H A DIcuZoneRulesProvider.java204 * @param message
209 private static void verify(boolean check, String zoneId, String message) { argument
212 String.format("Failed verification of zone %s: %s", zoneId, message));
/libcore/ojluni/src/main/java/java/util/
H A DObjects.java220 * @param message detail message to be used in the event that a {@code
226 public static <T> T requireNonNull(T obj, String message) { argument
228 throw new NullPointerException(message);
273 * this method allows creation of the message to be deferred until
277 * creating the message supplier are less than the cost of just
278 * creating the string message directly.
281 * @param messageSupplier supplier of the detail message to be
/libcore/dalvik/src/main/java/dalvik/system/
H A DBlockGuard.java92 public BlockGuardPolicyException(int policyState, int policyViolated, String message) { argument
95 mMessage = message;
H A DCloseGuard.java222 String message = "Explicit termination method '" + closer + "' not called";
223 allocationSite = new Throwable(message);
249 String message =
253 REPORTER.report(message, allocationSite);
285 void report (String message, Throwable allocationSite); argument
292 @Override public void report (String message, Throwable allocationSite) { argument
293 System.logW(message, allocationSite);
/libcore/json/src/main/java/org/json/
H A DJSONTokener.java445 * Returns an exception containing the given message plus the current
448 public JSONException syntaxError(String message) { argument
449 return new JSONException(message + this);
/libcore/json/src/test/java/org/json/
H A DParsingTest.java125 String message = "Hex values are parsed as Strings if their signed " +
127 assertParsed(message, 0x80000000L, "0x80000000");
232 private void assertParsed(String message, Object expected, String json) throws JSONException { argument
236 assertEquals("For input \"" + json + "\" " + message, expected, actual);
/libcore/luni/src/test/java/libcore/java/lang/
H A DThrowableTest.java326 private Throwable newThrowable(String message, String... stackTraceElements) { argument
333 Throwable result = new Throwable(message);
H A DOldAndroidMathTest.java36 public static void assertEquals(String message, double expected, double actual, double delta) { argument
38 Assert.assertEquals(message, expected, actual, Math.ulp(expected));
40 Assert.assertEquals(message, expected, actual, delta);
44 public static void assertEquals(String message, float expected, float actual, float delta) { argument
46 Assert.assertEquals(message, expected, actual, Math.ulp(expected));
48 Assert.assertEquals(message, expected, actual, delta);
/libcore/luni/src/test/java/libcore/net/
H A DNetworkSecurityPolicyTest.java329 public void error(String message, Exception exception, int errorCode) { argument
/libcore/ojluni/src/main/java/java/sql/
H A DDriverManager.java440 * Prints a message to the current JDBC log stream.
442 * @param message a log or tracing message
444 public static void println(String message) { argument
447 logWriter.println(message);
/libcore/support/src/test/java/libcore/javax/net/ssl/
H A DSSLConfigurationAsserts.java243 private static void assertContainsAll(String message, String[] container, String[] elements) { argument
246 assertEquals(message, Collections.EMPTY_SET, elementsNotInContainer);
/libcore/tzdata/update_test_app/src/libcore/tzdata/update_test_app/installupdatetestapp/
H A DMainActivity.java118 for (String message : values) {
119 addToLog(message, null);
148 private void addToLog(String message, Exception e) { argument
149 logString(message);
/libcore/xml/src/main/java/org/xmlpull/v1/
H A DXmlPullParserFactory.java187 private static XmlPullParserException newInstantiationException(String message, argument
190 return new XmlPullParserException(message);
192 XmlPullParserException exception = new XmlPullParserException(message);
/libcore/support/src/test/java/tests/resources/
H A Djunit4-4.3.1.jar ... static void assertTrue (java.lang.String, boolean) String message boolean condition public static void assertTrue (boolean) boolean condition public ...
/libcore/luni/src/test/java/libcore/xml/
H A DXsltXPathConformanceTestSuite.java294 private final String message; field in class:XsltXPathConformanceTestSuite.MisspecifiedTest
296 MisspecifiedTest(String message) { argument
298 this.message = message;
302 fail(message);
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DKeyFactoryTest.java73 String message = "getInstance(" + (algorithm == null ? "null" : "\"" + algorithm + "\"") + ")";
77 checkException(message, e, exceptions[i]);
79 checkException(message, null, exceptions[i]);
116 String message = "getInstance(\"" + combination[0] + "\", \"" + combination[1] + "\")";
121 checkException(message, e, exceptions[i]);
123 checkException(message, null, exceptions[i]);
161 String message = "getInstance(" +
169 checkException(message, e, exceptions[i]);
171 checkException(message, null, exceptions[i]);
212 String message
590 checkException(String message, Exception thrown, Class<? extends Exception> expected) argument
[all...]
/libcore/ojluni/src/main/java/java/io/
H A DPrintStream.java80 private static <T> T requireNonNull(T obj, String message) { argument
82 throw new NullPointerException(message);
/libcore/ojluni/src/main/java/java/lang/
H A DThrowable.java52 * thread at the time it was created. It can also contain a message
103 * {@code String} argument that can be used to produce a detail message.
107 * {@code String} (the detail message) and a {@code Throwable} (the
235 * Constructs a new throwable with {@code null} as its detail message.
247 * Constructs a new throwable with the specified detail message. The
254 * @param message the detail message. The detail message is saved for
257 public Throwable(String message) { argument
259 detailMessage = message;
279 Throwable(String message, Throwable cause) argument
349 Throwable(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) argument
[all...]
/libcore/ojluni/src/main/java/java/util/logging/
H A DLogRecord.java90 * @serial Logging message level
110 * @serial Non-localized raw message text
112 private String message; field in class:LogRecord
125 * @serial The Throwable (if any) associated with log message
135 * @serial Resource bundle name to localized log message.
161 * Construct a LogRecord with the given level and message values.
174 * @param msg the raw non-localized logging message (may be null)
180 message = msg;
210 * the message string before formatting it. The result may
211 * be null if the message i
376 setMessage(String message) argument
[all...]
/libcore/luni/src/main/java/org/xml/sax/helpers/
H A DParserAdapter.java761 * @param message The error message.
765 void reportError (String message)
769 errorHandler.error(makeException(message));
776 * @param message The error message.
778 private SAXParseException makeException (String message)
781 return new SAXParseException(message, locator);
783 return new SAXParseException(message, null, null, -1, -1);
762 reportError(String message) argument
775 makeException(String message) argument

Completed in 788 milliseconds

12345