Home
last modified time | relevance | path

Searched refs:message (Results 1 – 25 of 139) sorted by relevance

123456

/libcore/luni/src/main/java/org/xml/sax/
DSAXException.java54 public SAXException (String message) { in SAXException() argument
55 super(message); in SAXException()
84 public SAXException (String message, Exception e) in SAXException() argument
86 super(message); in SAXException()
102 String message = super.getMessage(); in getMessage() local
104 if (message == null && exception != null) { in getMessage()
107 return message; in getMessage()
DSAXParseException.java57 public SAXParseException (String message, Locator locator) { in SAXParseException() argument
58 super(message); in SAXParseException()
83 public SAXParseException (String message, Locator locator, in SAXParseException() argument
85 super(message, e); in SAXParseException()
116 public SAXParseException (String message, String publicId, String systemId, in SAXParseException() argument
119 super(message); in SAXParseException()
148 public SAXParseException (String message, String publicId, String systemId, in SAXParseException() argument
151 super(message, e); in SAXParseException()
/libcore/ojluni/src/main/java/java/lang/
DError.java69 public Error(String message) { in Error() argument
70 super(message); in Error()
87 public Error(String message, Throwable cause) { in Error() argument
88 super(message, cause); in Error()
123 protected Error(String message, Throwable cause, in Error() argument
126 super(message, cause, enableSuppression, writableStackTrace); in Error()
DException.java65 public Exception(String message) { in Exception() argument
66 super(message); in Exception()
83 public Exception(String message, Throwable cause) { in Exception() argument
84 super(message, cause); in Exception()
119 protected Exception(String message, Throwable cause, in Exception() argument
122 super(message, cause, enableSuppression, writableStackTrace); in Exception()
DRuntimeException.java61 public RuntimeException(String message) { in RuntimeException() argument
62 super(message); in RuntimeException()
79 public RuntimeException(String message, Throwable cause) { in RuntimeException() argument
80 super(message, cause); in RuntimeException()
114 protected RuntimeException(String message, Throwable cause, in RuntimeException() argument
117 super(message, cause, enableSuppression, writableStackTrace); in RuntimeException()
DInternalError.java51 public InternalError(String message) { in InternalError() argument
52 super(message); in InternalError()
70 public InternalError(String message, Throwable cause) { in InternalError() argument
71 super(message, cause); in InternalError()
DReflectiveOperationException.java55 public ReflectiveOperationException(String message) { in ReflectiveOperationException() argument
56 super(message); in ReflectiveOperationException()
74 public ReflectiveOperationException(String message, Throwable cause) { in ReflectiveOperationException() argument
75 super(message, cause); in ReflectiveOperationException()
DUnsupportedOperationException.java51 public UnsupportedOperationException(String message) { in UnsupportedOperationException() argument
52 super(message); in UnsupportedOperationException()
71 public UnsupportedOperationException(String message, Throwable cause) { in UnsupportedOperationException() argument
72 super(message, cause); in UnsupportedOperationException()
DVirtualMachineError.java52 public VirtualMachineError(String message) { in VirtualMachineError() argument
53 super(message); in VirtualMachineError()
70 public VirtualMachineError(String message, Throwable cause) { in VirtualMachineError() argument
71 super(message, cause); in VirtualMachineError()
/libcore/luni/src/test/java/libcore/java/net/
DOldHttpRetryExceptionTest.java25 String [] message = {"Test message", "", "Message", "~!@#$% &*(", null}; in test_ConstructorLStringI() local
28 for(int i = 0; i < message.length; i++) { in test_ConstructorLStringI()
29 HttpRetryException hre = new HttpRetryException(message[i], in test_ConstructorLStringI()
31 assertEquals(message[i], hre.getReason()); in test_ConstructorLStringI()
38 String [] message = {"Test message", "", "Message", "~!@#$% &*(", null}; in test_ConstructorLStringILString() local
43 for(int i = 0; i < message.length; i++) { in test_ConstructorLStringILString()
44 HttpRetryException hre = new HttpRetryException(message[i], in test_ConstructorLStringILString()
46 assertEquals(message[i], hre.getReason()); in test_ConstructorLStringILString()
/libcore/ojluni/src/lambda/java/java/lang/invoke/
DLambdaConversionException.java44 public LambdaConversionException(String message) { in LambdaConversionException() argument
45 super(message); in LambdaConversionException()
53 public LambdaConversionException(String message, Throwable cause) { in LambdaConversionException() argument
54 super(message, cause); in LambdaConversionException()
73 …public LambdaConversionException(String message, Throwable cause, boolean enableSuppression, boole… in LambdaConversionException() argument
74 super(message, cause, enableSuppression, writableStackTrace); in LambdaConversionException()
/libcore/luni/src/main/java/javax/xml/transform/
DTransformerException.java124 public TransformerException(String message) { in TransformerException() argument
126 super(message); in TransformerException()
155 public TransformerException(String message, Throwable e) { in TransformerException() argument
157 super(((message == null) || (message.length() == 0)) in TransformerException()
159 : message); in TransformerException()
175 public TransformerException(String message, SourceLocator locator) { in TransformerException() argument
177 super(message); in TransformerException()
191 public TransformerException(String message, SourceLocator locator, in TransformerException() argument
194 super(message); in TransformerException()
210 String message = super.getMessage(); in getMessageAndLocation() local
[all …]
/libcore/dalvik/src/main/java/dalvik/system/
DCloseGuard.java179 String message = "Explicit termination method '" + closer + "' not called"; in open() local
180 allocationSite = new Throwable(message); in open()
204 String message = in warnIfOpen() local
208 REPORTER.report(message, allocationSite); in warnIfOpen()
215 public void report (String message, Throwable allocationSite); in report() argument
222 @Override public void report (String message, Throwable allocationSite) { in report() argument
223 System.logW(message, allocationSite); in report()
/libcore/luni/src/test/java/libcore/java/lang/
DOldThrowableTest.java24 String message = "Test message"; in test_ConstructorLStringLThrowable() local
26 Throwable thr = new Throwable(message, npe); in test_ConstructorLStringLThrowable()
27 assertEquals("message is incorrect.", message, thr.getMessage()); in test_ConstructorLStringLThrowable()
34 thr = new Throwable(message, null); in test_ConstructorLStringLThrowable()
35 assertEquals("message is incorrect.", message, thr.getMessage()); in test_ConstructorLStringLThrowable()
62 public TestThrowable(String message) { in TestThrowable() argument
63 super(message); in TestThrowable()
72 String message = "Test message"; in test_getStackTrace() local
74 Throwable thr = new Throwable(message, npe); in test_getStackTrace()
80 String message = "Test message"; in test_initCause() local
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DInvalidClassExceptionTest.java30 final String message = "A message"; in test_ConstructorLjava_lang_String() local
33 throw new InvalidClassException(message); in test_ConstructorLjava_lang_String()
38 assertTrue("Incorrect message read", e.getMessage().equals(message)); in test_ConstructorLjava_lang_String()
47 final String message = "A message"; in test_ConstructorLjava_lang_StringLjava_lang_String() local
51 throw new InvalidClassException(className, message); in test_ConstructorLjava_lang_StringLjava_lang_String()
59 && returnedMessage.indexOf(message) >= 0); in test_ConstructorLjava_lang_StringLjava_lang_String()
/libcore/luni/src/test/java/libcore/xml/
DDeclarationTest.java82 String message = "This implementation doesn't parse the encoding from the XML declaration"; in testGetXmlEncoding() local
83 assertEquals(message, "ISO-8859-1", documentA.getXmlEncoding()); in testGetXmlEncoding()
84 assertEquals(message, "US-ASCII", documentB.getXmlEncoding()); in testGetXmlEncoding()
88 String message = "This implementation doesn't parse the version from the XML declaration"; in testGetXmlVersion() local
89 assertEquals(message, "1.0", documentA.getXmlVersion()); in testGetXmlVersion()
90 assertEquals(message, "1.1", documentB.getXmlVersion()); in testGetXmlVersion()
94 String message = "This implementation doesn't parse standalone from the XML declaration"; in testGetXmlStandalone() local
95 assertEquals(message, false, documentA.getXmlStandalone()); in testGetXmlStandalone()
96 assertEquals(message, true, documentB.getXmlStandalone()); in testGetXmlStandalone()
/libcore/luni/src/test/java/libcore/java/io/
DObjectOutputStreamTest.java43 private String message; field in ObjectOutputStreamTest.CallsCloseInWriteObjectMethod
45 public CallsCloseInWriteObjectMethod(String message) { in CallsCloseInWriteObjectMethod() argument
46 this.message = message; in CallsCloseInWriteObjectMethod()
50 oos.writeObject(message); in writeObject()
55 message = (String) ois.readObject(); in readObject()
69 return message.equals(that.message); in equals()
74 return message.hashCode(); in hashCode()
/libcore/ojluni/src/main/java/java/io/
DIOException.java57 public IOException(String message) { in IOException() argument
58 super(message); in IOException()
80 public IOException(String message, Throwable cause) { in IOException() argument
81 super(message, cause); in IOException()
/libcore/ojluni/src/main/java/java/lang/annotation/
DAnnotationFormatError.java48 public AnnotationFormatError(String message) { in AnnotationFormatError() argument
49 super(message); in AnnotationFormatError()
62 public AnnotationFormatError(String message, Throwable cause) { in AnnotationFormatError() argument
63 super(message, cause); in AnnotationFormatError()
/libcore/ojluni/src/main/java/java/util/
DConcurrentModificationException.java86 public ConcurrentModificationException(String message) { in ConcurrentModificationException() argument
87 super(message); in ConcurrentModificationException()
121 public ConcurrentModificationException(String message, Throwable cause) { in ConcurrentModificationException() argument
122 super(message, cause); in ConcurrentModificationException()
/libcore/luni/src/main/java/java/util/concurrent/
DCompletionException.java33 protected CompletionException(String message) { in CompletionException() argument
34 super(message); in CompletionException()
45 public CompletionException(String message, Throwable cause) { in CompletionException() argument
46 super(message, cause); in CompletionException()
DExecutionException.java35 protected ExecutionException(String message) { in ExecutionException() argument
36 super(message); in ExecutionException()
47 public ExecutionException(String message, Throwable cause) { in ExecutionException() argument
48 super(message, cause); in ExecutionException()
DRejectedExecutionException.java34 public RejectedExecutionException(String message) { in RejectedExecutionException() argument
35 super(message); in RejectedExecutionException()
46 public RejectedExecutionException(String message, Throwable cause) { in RejectedExecutionException() argument
47 super(message, cause); in RejectedExecutionException()
/libcore/ojluni/src/main/java/java/security/cert/
DCertificateParsingException.java55 public CertificateParsingException(String message) { in CertificateParsingException() argument
56 super(message); in CertificateParsingException()
70 public CertificateParsingException(String message, Throwable cause) { in CertificateParsingException() argument
71 super(message, cause); in CertificateParsingException()
DCertificateEncodingException.java54 public CertificateEncodingException(String message) { in CertificateEncodingException() argument
55 super(message); in CertificateEncodingException()
69 public CertificateEncodingException(String message, Throwable cause) { in CertificateEncodingException() argument
70 super(message, cause); in CertificateEncodingException()

123456