/dalvik/tests/021-string2/src/junit/framework/ |
D | Assert.java | 18 static public void assertTrue(String message, boolean condition) { in assertTrue() argument 20 fail(message); in assertTrue() 33 static public void assertFalse(String message, boolean condition) { in assertFalse() argument 34 assertTrue(message, !condition); in assertFalse() 46 static public void fail(String message) { in fail() argument 47 throw new AssertionFailedError(message); in fail() 59 static public void assertEquals(String message, Object expected, Object actual) { in assertEquals() argument 64 failNotEquals(message, expected, actual); in assertEquals() 76 static public void assertEquals(String message, String expected, String actual) { in assertEquals() argument 81 throw new ComparisonFailure(message, expected, actual); in assertEquals() [all …]
|
/dalvik/libcore/junit/src/main/java/junit/framework/ |
D | Assert.java | 18 static public void assertTrue(String message, boolean condition) { in assertTrue() argument 20 fail(message); in assertTrue() 33 static public void assertFalse(String message, boolean condition) { in assertFalse() argument 34 assertTrue(message, !condition); in assertFalse() 46 static public void fail(String message) { in fail() argument 47 throw new AssertionFailedError(message); in fail() 59 static public void assertEquals(String message, Object expected, Object actual) { in assertEquals() argument 64 failNotEquals(message, expected, actual); in assertEquals() 76 static public void assertEquals(String message, String expected, String actual) { in assertEquals() argument 81 throw new ComparisonFailure(message, expected, actual); in assertEquals() [all …]
|
/dalvik/dx/src/junit/framework/ |
D | Assert.java | 18 static public void assertTrue(String message, boolean condition) { in assertTrue() argument 20 fail(message); in assertTrue() 33 static public void assertFalse(String message, boolean condition) { in assertFalse() argument 34 assertTrue(message, !condition); in assertFalse() 46 static public void fail(String message) { in fail() argument 47 throw new AssertionFailedError(message); in fail() 59 static public void assertEquals(String message, Object expected, Object actual) { in assertEquals() argument 64 failNotEquals(message, expected, actual); in assertEquals() 76 static public void assertEquals(String message, String expected, String actual) { in assertEquals() argument 81 throw new ComparisonFailure(message, expected, actual); in assertEquals() [all …]
|
D | AssertionFailedError.java | 10 public AssertionFailedError (String message) { in AssertionFailedError() argument 11 super (message); in AssertionFailedError()
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/i18n/ |
D | LocalizedException.java | 11 protected ErrorBundle message; field in LocalizedException 18 public LocalizedException(ErrorBundle message) in LocalizedException() argument 20 super(message.getText(Locale.getDefault())); in LocalizedException() 21 this.message = message; in LocalizedException() 29 public LocalizedException(ErrorBundle message, Throwable throwable) in LocalizedException() argument 31 super(message.getText(Locale.getDefault())); in LocalizedException() 32 this.message = message; in LocalizedException() 42 return message; in getErrorMessage()
|
/dalvik/libcore/xml/src/main/java/javax/xml/parsers/ |
D | FactoryConfigurationError.java | 75 public FactoryConfigurationError(Exception cause, String message) { in FactoryConfigurationError() argument 76 super(message); in FactoryConfigurationError() 88 public FactoryConfigurationError(String message) { in FactoryConfigurationError() argument 89 super(message); in FactoryConfigurationError() 116 String message = super.getMessage(); in getMessage() local 118 if (message != null) { in getMessage() 119 return message; in getMessage()
|
/dalvik/libcore/xml/src/main/java/org/xml/sax/ |
D | SAXException.java | 55 public SAXException (String message) { in SAXException() argument 56 super(message); in SAXException() 86 public SAXException (String message, Exception e) in SAXException() argument 88 super(message); in SAXException() 104 String message = super.getMessage(); in getMessage() local 106 if (message == null && exception != null) { in getMessage() 109 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()
|
/dalvik/libcore-disabled/sound/src/main/java/javax/sound/midi/ |
D | MidiEvent.java | 21 private MidiMessage message; field in MidiEvent 25 public MidiEvent(MidiMessage message, long tick) { in MidiEvent() argument 26 this.message = message; in MidiEvent() 31 return message; in getMessage()
|
/dalvik/libcore/archive/src/main/native/ |
D | sieb.c | 8 void throwNewOutOfMemoryError (JNIEnv * env, const char *message) in throwNewOutOfMemoryError() argument 10 jniThrowException(env, "java/lang/OutOfMemoryError", message); in throwNewOutOfMemoryError() 14 void throwNewIllegalStateException (JNIEnv * env, const char *message) in throwNewIllegalStateException() argument 16 jniThrowException(env, "java/lang/IllegalStateException", message); in throwNewIllegalStateException() 20 void throwNewIllegalArgumentException (JNIEnv * env, const char *message) in throwNewIllegalArgumentException() argument 22 jniThrowException(env, "java/lang/IllegalArgumentException", message); in throwNewIllegalArgumentException()
|
D | sieb.h | 10 void throwNewOutOfMemoryError (JNIEnv * env, const char *message); 11 void throwNewIllegalArgumentException (JNIEnv * env, const char *message); 12 void throwNewIllegalStateException (JNIEnv * env, const char *message);
|
/dalvik/dx/src/com/android/dx/util/ |
D | MutabilityException.java | 24 public MutabilityException(String message) { in MutabilityException() argument 25 super(message); in MutabilityException() 32 public MutabilityException(String message, Throwable cause) { in MutabilityException() argument 33 super(message, cause); in MutabilityException()
|
D | ExceptionWithContext.java | 58 public ExceptionWithContext(String message) { in ExceptionWithContext() argument 59 this(message, null); in ExceptionWithContext() 77 public ExceptionWithContext(String message, Throwable cause) { in ExceptionWithContext() argument 78 super((message != null) ? message : in ExceptionWithContext()
|
/dalvik/libcore/security/src/main/java/java/security/ |
D | AccessControlException.java | 45 public AccessControlException(String message) { in AccessControlException() argument 46 super(message); in AccessControlException() 59 public AccessControlException(String message, Permission perm) { in AccessControlException() argument 60 super(message); in AccessControlException()
|
/dalvik/libcore/concurrent/src/main/java/java/util/concurrent/ |
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()
|
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()
|
/dalvik/libcore/annotation/src/main/java/java/lang/annotation/ |
D | AnnotationFormatError.java | 40 public AnnotationFormatError(String message) { in AnnotationFormatError() argument 41 super(message); in AnnotationFormatError() 55 public AnnotationFormatError(String message, Throwable cause) { in AnnotationFormatError() argument 56 super(message, cause); in AnnotationFormatError()
|
/dalvik/dx/src/com/android/dx/cf/code/ |
D | SimException.java | 26 public SimException(String message) { in SimException() argument 27 super(message); in SimException() 34 public SimException(String message, Throwable cause) { in SimException() argument 35 super(message, cause); in SimException()
|
/dalvik/dx/src/com/android/dx/cf/iface/ |
D | ParseException.java | 26 public ParseException(String message) { in ParseException() argument 27 super(message); in ParseException() 34 public ParseException(String message, Throwable cause) { in ParseException() argument 35 super(message, cause); in ParseException()
|
/dalvik/libcore/luni/src/test/java/tests/api/java/net/ |
D | HttpRetryExceptionTest.java | 53 String [] message = {"Test message", "", "Message", "~!@#$% &*(", null}; in test_ConstructorLStringI() local 56 for(int i = 0; i < message.length; i++) { in test_ConstructorLStringI() 57 HttpRetryException hre = new HttpRetryException(message[i], in test_ConstructorLStringI() 59 assertEquals(message[i], hre.getReason()); in test_ConstructorLStringI() 92 String [] message = {"Test message", "", "Message", "~!@#$% &*(", null}; in test_ConstructorLStringILString() local 97 for(int i = 0; i < message.length; i++) { in test_ConstructorLStringILString() 98 HttpRetryException hre = new HttpRetryException(message[i], in test_ConstructorLStringILString() 100 assertEquals(message[i], hre.getReason()); in test_ConstructorLStringILString()
|
D | SocketTestCase.java | 103 String message = e.getMessage(); in handleException() local 104 if (message != null in handleException() 105 && (message.equals(osDoesNotSupportOperationString) in handleException() 106 || message.equals(osDoesNotSupportOptionString) || message in handleException()
|
/dalvik/libcore/luni/src/test/java/tests/api/java/io/ |
D | InvalidClassExceptionTest.java | 39 final String message = "A message"; in test_ConstructorLjava_lang_String() local 42 throw new java.io.InvalidClassException(message); in test_ConstructorLjava_lang_String() 45 assertTrue("Incorrect message read", e.getMessage().equals(message)); in test_ConstructorLjava_lang_String() 72 final String message = "A message"; in test_ConstructorLjava_lang_StringLjava_lang_String() local 76 throw new java.io.InvalidClassException(className, message); in test_ConstructorLjava_lang_StringLjava_lang_String() 82 && returnedMessage.indexOf(message) >= 0); in test_ConstructorLjava_lang_StringLjava_lang_String()
|
/dalvik/libnativehelper/ |
D | JNIHelp.c | 66 const char* message; in jniThrowIOException() local 75 message = buffer; in jniThrowIOException() 80 message = buffer; in jniThrowIOException() 83 message = ret; in jniThrowIOException() 86 return jniThrowException(env, "java/io/IOException", message); in jniThrowIOException()
|
/dalvik/libcore/security/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | KeyFactoryTest.java | 83 … String message = "getInstance(" + (algorithm == null ? "null" : "\"" + algorithm + "\"") + ")"; in testGetInstanceString() local 87 checkException(message, e, exceptions[i]); in testGetInstanceString() 89 checkException(message, null, exceptions[i]); in testGetInstanceString() 131 String message = "getInstance(\"" + combination[0] + "\", \"" + combination[1] + "\")"; in testGetInstanceStringString() local 136 checkException(message, e, exceptions[i]); in testGetInstanceStringString() 138 checkException(message, null, exceptions[i]); in testGetInstanceStringString() 181 String message = "getInstance(" + in testGetInstanceStringProvider() local 189 checkException(message, e, exceptions[i]); in testGetInstanceStringProvider() 191 checkException(message, null, exceptions[i]); in testGetInstanceStringProvider() 237 String message = "generatePublic(" + in testGeneratePublic() local [all …]
|
/dalvik/libcore/json/src/main/java/org/json/ |
D | JSONException.java | 13 public JSONException(String message) { in JSONException() argument 14 super(message); in JSONException()
|