/libcore/luni/src/main/java/org/xml/sax/ |
D | SAXException.java | 54 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()
|
D | SAXParseException.java | 57 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/ |
D | OldHttpRetryExceptionTest.java | 25 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()
|
D | OldSocketTestCase.java | 93 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/ |
D | TransformerException.java | 124 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 …]
|
D | TransformerConfigurationException.java | 78 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/ |
D | CloseGuard.java | 183 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/ |
D | InvalidClassExceptionTest.java | 30 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()
|
D | FileNotFoundExceptionTest.java | 38 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()
|
D | NotSerializableExceptionTest.java | 38 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()
|
D | NotActiveExceptionTest.java | 38 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/ |
D | OldThrowableTest.java | 24 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 …]
|
D | OldRuntimeExceptionTest.java | 25 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/ |
D | DeclarationTest.java | 82 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/ |
D | ServiceConfigurationError.java | 31 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()
|
D | IllformedLocaleException.java | 41 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/ |
D | ExecutionException.java | 35 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()
|
D | RejectedExecutionException.java | 34 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/ |
D | AccessControlException.java | 37 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/ |
D | MalformedHprofException.java | 25 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/ |
D | ReflectiveOperationException.java | 36 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/ |
D | AnnotationFormatError.java | 38 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/ |
D | KeyFactoryTest.java | 73 … 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/ |
D | ExceptionWithContext.java | 57 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/ |
D | ErrorManager.java | 90 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()
|