Searched defs:message (Results 51 - 75 of 113) sorted by relevance

12345

/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/main/java/javax/xml/transform/
H A DTransformerConfigurationException.java29 * detail message.
37 * the <code>String </code> specified as an error message.
39 * @param msg The error message for the exception.
58 * given <code>Exception</code> base cause and detail message.
62 * @param msg The detail message.
69 * Create a new TransformerConfigurationException from a message and a Locator.
75 * @param message The error or warning message.
78 public TransformerConfigurationException(String message, argument
80 super(message, locato
91 TransformerConfigurationException(String message, SourceLocator locator, Throwable e) argument
[all...]
/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/main/java/org/w3c/dom/ls/
H A DLSException.java30 public LSException(short code, String message) { argument
31 super(message);
/libcore/luni/src/main/java/org/xml/sax/
H A DSAXException.java52 * @param message The error or warning message.
54 public SAXException (String message) { argument
55 super(message);
64 * one, and its message will become the default message for
79 * one, but the new exception will have its own message.</p>
81 * @param message The detail message.
84 public SAXException (String message, Exceptio argument
[all...]
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);
/libcore/ojluni/src/lambda/java/java/lang/invoke/
H A DLambdaConversionException.java41 * Constructs a {@code LambdaConversionException} with a message.
42 * @param message the detail message
44 public LambdaConversionException(String message) { argument
45 super(message);
49 * Constructs a {@code LambdaConversionException} with a message and cause.
50 * @param message the detail message
53 public LambdaConversionException(String message, Throwable cause) { argument
54 super(message, caus
73 LambdaConversionException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) argument
[all...]
/libcore/ojluni/src/main/java/java/io/
H A DUncheckedIOException.java40 * @param message
41 * the detail message, can be null
48 public UncheckedIOException(String message, IOException cause) { argument
49 super(message, Objects.requireNonNull(cause));
/libcore/ojluni/src/main/java/java/lang/
H A DError.java53 * Constructs a new error with {@code null} as its detail message.
62 * Constructs a new error with the specified detail message. The
66 * @param message the detail message. The detail message is saved for
69 public Error(String message) { argument
70 super(message);
74 * Constructs a new error with the specified detail message and
75 * cause. <p>Note that the detail message associated with
77 * this error's detail message
87 Error(String message, Throwable cause) argument
123 Error(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) argument
[all...]
H A DException.java49 * Constructs a new exception with {@code null} as its detail message.
58 * Constructs a new exception with the specified detail message. The
62 * @param message the detail message. The detail message is saved for
65 public Exception(String message) { argument
66 super(message);
70 * Constructs a new exception with the specified detail message and
71 * cause. <p>Note that the detail message associated with
73 * this exception's detail message
83 Exception(String message, Throwable cause) argument
119 Exception(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) argument
[all...]
H A DRuntimeException.java47 * detail message. The cause is not initialized, and may subsequently be
54 /** Constructs a new runtime exception with the specified detail message.
58 * @param message the detail message. The detail message is saved for
61 public RuntimeException(String message) { argument
62 super(message);
66 * Constructs a new runtime exception with the specified detail message and
67 * cause. <p>Note that the detail message associated with
69 * this runtime exception's detail message
79 RuntimeException(String message, Throwable cause) argument
114 RuntimeException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) argument
[all...]
/libcore/ojluni/src/main/java/java/lang/invoke/
H A DLambdaConversionException.java41 * Constructs a {@code LambdaConversionException} with a message.
42 * @param message the detail message
44 public LambdaConversionException(String message) { argument
45 super(message);
49 * Constructs a {@code LambdaConversionException} with a message and cause.
50 * @param message the detail message
53 public LambdaConversionException(String message, Throwable cause) { argument
54 super(message, caus
73 LambdaConversionException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) argument
[all...]
H A DMethodHandleStatics.java76 /*non-public*/ static InternalError newInternalError(String message) { argument
77 return new InternalError(message);
79 /*non-public*/ static InternalError newInternalError(String message, Throwable cause) { argument
80 return new InternalError(message, cause);
85 /*non-public*/ static RuntimeException newIllegalStateException(String message) { argument
86 return new IllegalStateException(message);
88 /*non-public*/ static RuntimeException newIllegalStateException(String message, Object obj) { argument
89 return new IllegalStateException(message(message, obj));
91 /*non-public*/ static RuntimeException newIllegalArgumentException(String message) { argument
94 newIllegalArgumentException(String message, Object obj) argument
97 newIllegalArgumentException(String message, Object obj, Object obj2) argument
109 message(String message, Object obj) argument
113 message(String message, Object obj, Object obj2) argument
[all...]
/libcore/ojluni/src/main/java/java/security/cert/
H A DCertificateException.java41 * Constructs a certificate exception with no detail message. A detail
42 * message is a String that describes this particular exception.
50 * message. A detail message is a String that describes this
53 * @param msg the detail message.
61 * detail message and cause.
63 * @param message the detail message (which is saved for later retrieval
70 public CertificateException(String message, Throwable cause) { argument
71 super(message, caus
[all...]
/libcore/ojluni/src/main/java/java/security/spec/
H A DInvalidKeySpecException.java46 * Constructs an InvalidKeySpecException with no detail message. A
47 * detail message is a String that describes this particular
56 * message. A detail message is a String that describes this
59 * @param msg the detail message.
67 * detail message and cause.
69 * @param message the detail message (which is saved for later retrieval
76 public InvalidKeySpecException(String message, Throwable cause) { argument
77 super(message, caus
[all...]
/libcore/ojluni/src/main/java/java/util/
H A DIllformedLocaleException.java50 * detail message and -1 as the error index.
58 * given message and -1 as the error index.
60 * @param message the message
62 public IllformedLocaleException(String message) { argument
63 super(message);
68 * given message and the error index. The error index is the approximate
73 * @param message the message
76 public IllformedLocaleException(String message, in argument
[all...]
H A DInvalidPropertiesFormatException.java64 * detail message.
66 * @param message the detail message. The detail message is saved for
69 public InvalidPropertiesFormatException(String message) { argument
70 super(message);
H A DMissingResourceException.java55 * A detail message is a String that describes this particular exception.
56 * @param s the detail message
68 * <code>message</code>, <code>className</code>, <code>key</code>,
72 * @param message
73 * the detail message
84 MissingResourceException(String message, String className, String key, Throwable cause) { argument
85 super(message, cause);
/libcore/ojluni/src/main/java/javax/net/ssl/
H A DSSLException.java57 * detail message and cause.
59 * @param message the detail message (which is saved for later retrieval
67 public SSLException(String message, Throwable cause) { argument
68 super(message);
74 * and a detail message of <tt>(cause==null ? null : cause.toString())</tt>
75 * (which typically contains the class and detail message of
/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...]
/libcore/luni/src/test/java/libcore/java/lang/
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/ojluni/src/main/java/java/time/format/
H A DDateTimeParseException.java93 * Constructs a new exception with the specified message.
95 * @param message the message to use for this exception, may be null
99 public DateTimeParseException(String message, CharSequence parsedData, int errorIndex) { argument
100 super(message);
106 * Constructs a new exception with the specified message and cause.
108 * @param message the message to use for this exception, may be null
113 public DateTimeParseException(String message, CharSequence parsedData, int errorIndex, Throwable cause) { argument
114 super(message, caus
[all...]
/libcore/ojluni/src/main/java/sun/security/util/
H A DDebug.java144 * print a message to stderr that is prefixed with the prefix
148 public void println(String message) argument
150 System.err.println(prefix + ": "+message);
/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;

Completed in 1960 milliseconds

12345