Searched refs:message (Results 51 - 75 of 112) sorted by relevance

12345

/libcore/luni/src/main/java/java/security/cert/
H A DCertificateParsingException.java29 * message.
32 * the detail message for the exception.
46 * message and cause.
48 * @param message
49 * the detail message for the exception.
53 public CertificateParsingException(String message, Throwable cause) { argument
54 super(message, cause);
/libcore/luni/src/main/java/java/security/spec/
H A DInvalidKeySpecException.java34 * Creates a new {@code InvalidKeySpecException} with the specified message.
37 * the detail message of this exception.
50 * Creates a new {@code InvalidKeySpecException} with the specified message
53 * @param message
54 * the detail message of this exception.
58 public InvalidKeySpecException(String message, Throwable cause) { argument
59 super(message, cause);
/libcore/luni/src/main/java/javax/net/ssl/
H A DSSLException.java39 * Creates a new {@code SSLException} with the specified message and cause.
41 * @param message
42 * the detail message for the exception.
46 public SSLException(String message, Throwable cause) { argument
47 super(message);
/libcore/luni/src/main/java/javax/security/auth/callback/
H A DUnsupportedCallbackException.java32 * unsupported {@code Callback}, but no error message.
43 * unsupported {@code Callback} and an error message.
47 * @param message
48 * the error message
50 public UnsupportedCallbackException(Callback callback, String message) { argument
51 super(message);
/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/java/org/xml/sax/
H A DSAXParseException.java47 * Create a new SAXParseException from a message and a Locator.
53 * @param message The error or warning message.
58 public SAXParseException (String message, Locator locator) {
59 super(message);
77 * @param message The error or warning message, or null to
78 * use the message from the embedded exception.
84 public SAXParseException (String message, Locator locator,
86 super(message,
57 SAXParseException(String message, Locator locator) argument
83 SAXParseException(String message, Locator locator, Exception e) argument
116 SAXParseException(String message, String publicId, String systemId, int lineNumber, int columnNumber) argument
148 SAXParseException(String message, String publicId, String systemId, int lineNumber, int columnNumber, Exception e) argument
[all...]
/libcore/luni/src/main/native/
H A DJniException.cpp27 void jniThrowOutOfMemoryError(JNIEnv* env, const char* message) { argument
28 jniThrowException(env, "java/lang/OutOfMemoryError", message);
H A DJniException.h24 void jniThrowOutOfMemoryError(JNIEnv* env, const char* message);
/libcore/luni/src/test/java/libcore/java/net/
H A DOldHttpRetryExceptionTest.java25 String [] message = {"Test message", "", "Message", "~!@#$% &*(", null};
28 for(int i = 0; i < message.length; i++) {
29 HttpRetryException hre = new HttpRetryException(message[i],
31 assertEquals(message[i], hre.getReason());
38 String [] message = {"Test message", "", "Message", "~!@#$% &*(", null};
43 for(int i = 0; i < message.length; i++) {
44 HttpRetryException hre = new HttpRetryException(message[i],
46 assertEquals(message[
[all...]
H A DOldSocketTestCase.java93 String message = e.getMessage();
94 if (message != null
95 && (message.equals(osDoesNotSupportOperationString)
96 || message.equals(osDoesNotSupportOptionString) || message
/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...]
H A DTransformerFactoryConfigurationError.java38 * detail message.
46 * the <code>String</code> specified as an error message.
48 * @param msg The error message for the exception.
73 * given <code>Exception</code> base cause and detail message.
77 * @param msg The detail message.
87 * Return the message (if any) for this error . If there is no
88 * message for the exception and there is an encapsulated
89 * exception then the message of that exception will be returned.
91 * @return The error message.
95 String message
[all...]
/libcore/luni/src/test/java/libcore/xml/
H A DDeclarationTest.java82 String message = "This implementation doesn't parse the encoding from the XML declaration";
83 assertEquals(message, "ISO-8859-1", documentA.getXmlEncoding());
84 assertEquals(message, "US-ASCII", documentB.getXmlEncoding());
88 String message = "This implementation doesn't parse the version from the XML declaration";
89 assertEquals(message, "1.0", documentA.getXmlVersion());
90 assertEquals(message, "1.1", documentB.getXmlVersion());
94 String message = "This implementation doesn't parse standalone from the XML declaration";
95 assertEquals(message, false, documentA.getXmlStandalone());
96 assertEquals(message, true, documentB.getXmlStandalone());
/libcore/luni/src/main/java/java/util/logging/
H A DErrorManager.java76 * Reports an error using the given message, exception and error code. This
77 * implementation will write out the message to {@link System#err} on the
81 * @param message
82 * the error message, which may be {@code null}.
90 public void error(String message, Exception exception, int errorCode) { argument
98 if (message != null) {
99 System.err.println("Error message - " + message);
H A DLogRecord.java90 * The original message text.
94 private String message; field in class:LogRecord
125 * The name of the resource bundle used to localize the log message.
142 * level and message. The millis property is set to the current time. The
150 * the raw message.
159 this.message = msg;
226 * Gets the raw message.
228 * @return the raw message, may be {@code null}.
231 return message;
235 * Sets the raw message
242 setMessage(String message) argument
[all...]
/libcore/luni/src/main/java/javax/xml/parsers/
H A DFactoryConfigurationError.java41 * detail message.
50 * the <code>String </code> specified as an error message.
52 * @param msg The error message for the exception.
76 * given <code>Exception</code> base cause and detail message.
80 * @param msg The detail message.
90 * Return the message (if any) for this error . If there is no
91 * message for the exception and there is an encapsulated
92 * exception then the message of that exception, if it exists will be
96 * @return The error message.
100 String message
[all...]
/libcore/dalvik/src/main/java/dalvik/system/
H A DDalvikLogHandler.java28 * may otherwise need to be calculated for each published message.
35 * Publishes a log message. Unlike {@link
37 * method includes only the raw log message. Log messages that were created
44 void publish(Logger source, String tag, Level level, String message); argument
/libcore/luni/src/test/java/libcore/java/lang/
H A DOldRuntimeExceptionTest.java25 String message = "Test message";
27 RuntimeException re = new RuntimeException(message, npe);
28 assertEquals(message, re.getMessage());
34 re = new RuntimeException(message, null);
H A DOldThrowableTest.java24 String message = "Test message";
26 Throwable thr = new Throwable(message, npe);
27 assertEquals("message is incorrect.", message, thr.getMessage());
31 assertNull("message is not null.", thr.getMessage());
34 thr = new Throwable(message, null);
35 assertEquals("message is incorrect.", message, thr.getMessage());
51 String testMessage = "Test message";
62 TestThrowable(String message) argument
[all...]
/libcore/dex/src/main/java/com/android/dex/util/
H A DExceptionWithContext.java55 * @param message human-oriented message
57 public ExceptionWithContext(String message) { argument
58 this(message, null);
73 * @param message human-oriented message
76 public ExceptionWithContext(String message, Throwable cause) { argument
77 super((message != null) ? message :
130 * Prints the message an
[all...]
/libcore/dom/src/test/java/org/w3c/domts/
H A DDOMErrorImpl.java26 private final String message; field in class:DOMErrorImpl
38 this.message = src.getMessage();
50 return message;
/libcore/luni/src/main/java/javax/xml/xpath/
H A DXPathException.java41 * <p>Constructs a new <code>XPathException</code> with the specified detail <code>message</code>.</p>
45 * <p>If <code>message</code> is <code>null</code>, then a <code>NullPointerException</code> is thrown.</p>
47 * @param message The detail message.
49 public XPathException(String message) { argument
50 super(message);
51 if (message == null) {
52 throw new NullPointerException("message == null");
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DGuardedObjectTest.java49 final String message = "test message";
55 throw new SecurityException(message);
66 assertEquals(message, ok.getMessage());
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/luni/src/main/java/javax/xml/datatype/
H A DDatatypeConfigurationException.java49 * no specified detail message and cause.</p>
57 * the specified detail message.</p>
59 * @param message The detail message.
62 public DatatypeConfigurationException(String message) { argument
63 super(message);
68 * the specified detail message and cause.</p>
70 * @param message The detail message.
74 public DatatypeConfigurationException(String message, Throwabl argument
[all...]

Completed in 643 milliseconds

12345