Home
last modified time | relevance | path

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

12345

/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/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()
DOldSocketTestCase.java93 String message = e.getMessage(); in handleException() local
94 if (message != null in handleException()
95 && (message.equals(osDoesNotSupportOperationString) in handleException()
96 || message.equals(osDoesNotSupportOptionString) || message in handleException()
/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 …]
DTransformerConfigurationException.java78 public TransformerConfigurationException(String message, in TransformerConfigurationException() argument
80 super(message, locator); in TransformerConfigurationException()
91 public TransformerConfigurationException(String message, in TransformerConfigurationException() argument
94 super(message, locator, e); in TransformerConfigurationException()
/libcore/dalvik/src/main/java/dalvik/system/
DCloseGuard.java183 String message = "Explicit termination method '" + closer + "' not called"; in open() local
184 allocationSite = new Throwable(message); in open()
208 String message = in warnIfOpen() local
212 REPORTER.report(message, allocationSite); in warnIfOpen()
219 public void report (String message, Throwable allocationSite); in report() argument
226 @Override public void report (String message, Throwable allocationSite) { in report() argument
227 System.logW(message, allocationSite); in report()
/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()
DFileNotFoundExceptionTest.java38 String message = "Cannot found file: 9://0//l"; in test_ConstructorLjava_lang_String() local
39 FileNotFoundException e = new FileNotFoundException(message); in test_ConstructorLjava_lang_String()
40 assertSame(message, e.getMessage()); in test_ConstructorLjava_lang_String()
DNotSerializableExceptionTest.java38 String message = "Test message"; in test_ConstructorLjava_lang_String() local
39 NotSerializableException nse = new NotSerializableException(message); in test_ConstructorLjava_lang_String()
40 assertSame(message, nse.getMessage()); in test_ConstructorLjava_lang_String()
DNotActiveExceptionTest.java38 String message = "Exception message"; in test_ConstructorLjava_lang_String() local
39 NotActiveException e = new NotActiveException(message); in test_ConstructorLjava_lang_String()
40 assertSame(message, e.getMessage()); in test_ConstructorLjava_lang_String()
/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 …]
DOldRuntimeExceptionTest.java25 String message = "Test message"; in test_ConstructorLStringLThrowable() local
27 RuntimeException re = new RuntimeException(message, npe); in test_ConstructorLStringLThrowable()
28 assertEquals(message, re.getMessage()); in test_ConstructorLStringLThrowable()
34 re = new RuntimeException(message, null); in test_ConstructorLStringLThrowable()
/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/main/java/java/util/
DServiceConfigurationError.java31 public ServiceConfigurationError(String message) { in ServiceConfigurationError() argument
32 super(message); in ServiceConfigurationError()
40 public ServiceConfigurationError(String message, Throwable cause) { in ServiceConfigurationError() argument
41 super(message, cause); in ServiceConfigurationError()
DIllformedLocaleException.java41 public IllformedLocaleException(String message) { in IllformedLocaleException() argument
42 this(message, -1); in IllformedLocaleException()
49 public IllformedLocaleException(String message, int errorIndex) { in IllformedLocaleException() argument
50 super(message); in IllformedLocaleException()
/libcore/luni/src/main/java/java/util/concurrent/
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/luni/src/main/java/java/security/
DAccessControlException.java37 public AccessControlException(String message) { in AccessControlException() argument
38 super(message); in AccessControlException()
50 public AccessControlException(String message, Permission perm) { in AccessControlException() argument
51 super(message); in AccessControlException()
/libcore/dalvik/src/main/java/dalvik/system/profiler/
DMalformedHprofException.java25 MalformedHprofException(String message) { in MalformedHprofException() argument
26 super(message); in MalformedHprofException()
28 MalformedHprofException(String message, Throwable cause) { in MalformedHprofException() argument
29 super(message, cause); in MalformedHprofException()
/libcore/luni/src/main/java/java/lang/
DReflectiveOperationException.java36 public ReflectiveOperationException(String message) { in ReflectiveOperationException() argument
37 super(message); in ReflectiveOperationException()
50 public ReflectiveOperationException(String message, Throwable cause) { in ReflectiveOperationException() argument
51 super(message, cause); in ReflectiveOperationException()
/libcore/luni/src/main/java/java/lang/annotation/
DAnnotationFormatError.java38 public AnnotationFormatError(String message) { in AnnotationFormatError() argument
39 super(message); in AnnotationFormatError()
50 public AnnotationFormatError(String message, Throwable cause) { in AnnotationFormatError() argument
51 super(message, cause); in AnnotationFormatError()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyFactoryTest.java73 … String message = "getInstance(" + (algorithm == null ? "null" : "\"" + algorithm + "\"") + ")"; in testGetInstanceString() local
77 checkException(message, e, exceptions[i]); in testGetInstanceString()
79 checkException(message, null, exceptions[i]); in testGetInstanceString()
116 String message = "getInstance(\"" + combination[0] + "\", \"" + combination[1] + "\")"; in testGetInstanceStringString() local
121 checkException(message, e, exceptions[i]); in testGetInstanceStringString()
123 checkException(message, null, exceptions[i]); in testGetInstanceStringString()
161 String message = "getInstance(" + in testGetInstanceStringProvider() local
169 checkException(message, e, exceptions[i]); in testGetInstanceStringProvider()
171 checkException(message, null, exceptions[i]); in testGetInstanceStringProvider()
212 String message = "generatePublic(" + in testGeneratePublic() local
[all …]
/libcore/dex/src/main/java/com/android/dex/util/
DExceptionWithContext.java57 public ExceptionWithContext(String message) { in ExceptionWithContext() argument
58 this(message, null); in ExceptionWithContext()
76 public ExceptionWithContext(String message, Throwable cause) { in ExceptionWithContext() argument
77 super((message != null) ? message : in ExceptionWithContext()
/libcore/luni/src/main/java/java/util/logging/
DErrorManager.java90 public void error(String message, Exception exception, int errorCode) { in error() argument
98 if (message != null) { in error()
99 System.err.println("Error message - " + message); in error()

12345