/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestDateTimeFormatter.java | 151 String msg = ex.getMessage(); in assertGoodErrorDate() 152 assertTrue(msg.contains(expectedText), msg); in assertGoodErrorDate() 153 assertTrue(msg.contains("Year"), msg); in assertGoodErrorDate() 154 assertTrue(msg.contains("MinuteOfHour"), msg); in assertGoodErrorDate() 155 assertTrue(msg.contains("DayOfMonth"), msg); in assertGoodErrorDate() 166 String msg = ex.getMessage(); in assertGoodErrorTime() 167 assertTrue(msg.contains(expectedText), msg); in assertGoodErrorTime() 168 assertTrue(msg.contains("HourOfDay"), msg); in assertGoodErrorTime() 169 assertTrue(msg.contains("MonthOfYear"), msg); in assertGoodErrorTime() 170 assertTrue(msg.contains("SecondOfMinute"), msg); in assertGoodErrorTime() [all …]
|
/libcore/ojluni/src/main/java/sun/util/logging/ |
D | PlatformLogger.java | 305 public void severe(String msg) { in severe() argument 306 loggerProxy.doLog(Level.SEVERE, msg); in severe() 309 public void severe(String msg, Throwable t) { in severe() argument 310 loggerProxy.doLog(Level.SEVERE, msg, t); in severe() 313 public void severe(String msg, Object... params) { in severe() argument 314 loggerProxy.doLog(Level.SEVERE, msg, params); in severe() 320 public void warning(String msg) { in warning() argument 321 loggerProxy.doLog(Level.WARNING, msg); in warning() 324 public void warning(String msg, Throwable t) { in warning() argument 325 loggerProxy.doLog(Level.WARNING, msg, t); in warning() [all …]
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | SunCertPathBuilderException.java | 64 public SunCertPathBuilderException(String msg) { in SunCertPathBuilderException() argument 65 super(msg); in SunCertPathBuilderException() 92 public SunCertPathBuilderException(String msg, Throwable cause) { in SunCertPathBuilderException() argument 93 super(msg, cause); in SunCertPathBuilderException() 103 SunCertPathBuilderException(String msg, AdjacencyList adjList) { in SunCertPathBuilderException() argument 104 this(msg); in SunCertPathBuilderException() 116 SunCertPathBuilderException(String msg, Throwable cause, in SunCertPathBuilderException() argument 119 this(msg, cause); in SunCertPathBuilderException()
|
D | BasicChecker.java | 161 String msg = "signature"; in verifySignature() local 163 debug.println("---checking " + msg + "..."); in verifySignature() 173 (msg + " check failed", e, null, -1, in verifySignature() 176 throw new CertPathValidatorException(msg + " check failed", e); in verifySignature() 180 debug.println(msg + " verified."); in verifySignature() 189 String msg = "timestamp"; in verifyTimestamp() local 191 debug.println("---checking " + msg + ":" + date.toString() + "..."); in verifyTimestamp() 197 (msg + " check failed", e, null, -1, BasicReason.EXPIRED); in verifyTimestamp() 200 (msg + " check failed", e, null, -1, BasicReason.NOT_YET_VALID); in verifyTimestamp() 204 debug.println(msg + " verified."); in verifyTimestamp() [all …]
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | UnixException.java | 39 private String msg; field in UnixException 43 this.msg = null; in UnixException() 46 UnixException(String msg) { in UnixException() argument 48 this.msg = msg; in UnixException() 57 this.msg = null; in setError() 61 if (msg != null) { in errorString() 62 return msg; in errorString() 79 if (msg != null) in translateToIOException() 80 return new IOException(msg); in translateToIOException()
|
/libcore/dom/src/test/java/org/w3c/domts/ |
D | DOMTestIncompatibleException.java | 25 private final String msg; field in DOMTestIncompatibleException 27 private DOMTestIncompatibleException(String msg) { in DOMTestIncompatibleException() argument 28 this.msg = msg; in DOMTestIncompatibleException() 38 msg = ex.toString(); in DOMTestIncompatibleException() 42 msg = setting.toString(); in DOMTestIncompatibleException() 45 msg = super.toString(); in DOMTestIncompatibleException() 73 return msg; in toString()
|
/libcore/ojluni/src/main/native/ |
D | jni_util.h | 49 JNU_ThrowByName(JNIEnv *env, const char *name, const char *msg); 53 JNU_ThrowNullPointerException(JNIEnv *env, const char *msg); 56 JNU_ThrowArrayIndexOutOfBoundsException(JNIEnv *env, const char *msg); 59 JNU_ThrowOutOfMemoryError(JNIEnv *env, const char *msg); 62 JNU_ThrowIllegalArgumentException(JNIEnv *env, const char *msg); 65 JNU_ThrowIllegalAccessError(JNIEnv *env, const char *msg); 68 JNU_ThrowIllegalAccessException(JNIEnv *env, const char *msg); 71 JNU_ThrowInternalError(JNIEnv *env, const char *msg); 74 JNU_ThrowIOException(JNIEnv *env, const char *msg); 77 JNU_ThrowNoSuchFieldException(JNIEnv *env, const char *msg); [all …]
|
D | jni_util.c | 45 JNU_ThrowByName(JNIEnv *env, const char *name, const char *msg) in JNU_ThrowByName() argument 50 (*env)->ThrowNew(env, cls, msg); in JNU_ThrowByName() 56 JNU_ThrowNullPointerException(JNIEnv *env, const char *msg) in JNU_ThrowNullPointerException() argument 58 JNU_ThrowByName(env, "java/lang/NullPointerException", msg); in JNU_ThrowNullPointerException() 62 JNU_ThrowArrayIndexOutOfBoundsException(JNIEnv *env, const char *msg) in JNU_ThrowArrayIndexOutOfBoundsException() argument 64 JNU_ThrowByName(env, "java/lang/ArrayIndexOutOfBoundsException", msg); in JNU_ThrowArrayIndexOutOfBoundsException() 68 JNU_ThrowOutOfMemoryError(JNIEnv *env, const char *msg) in JNU_ThrowOutOfMemoryError() argument 70 JNU_ThrowByName(env, "java/lang/OutOfMemoryError", msg); in JNU_ThrowOutOfMemoryError() 74 JNU_ThrowIllegalArgumentException(JNIEnv *env, const char *msg) in JNU_ThrowIllegalArgumentException() argument 76 JNU_ThrowByName(env, "java/lang/IllegalArgumentException", msg); in JNU_ThrowIllegalArgumentException() [all …]
|
D | Inflater.c | 44 #define ThrowDataFormatException(env, msg) \ argument 45 JNU_ThrowByName(env, "java/util/zip/DataFormatException", msg) 69 const char *msg; in Inflater_init() local 79 msg = ((strm->msg != NULL) ? strm->msg : in Inflater_init() 87 JNU_ThrowInternalError(env, msg); in Inflater_init() 108 JNU_ThrowIllegalArgumentException(env, ((z_stream *)jlong_to_ptr(addr))->msg); in Inflater_setDictionary() 111 JNU_ThrowInternalError(env, ((z_stream *)jlong_to_ptr(addr))->msg); in Inflater_setDictionary() 169 ThrowDataFormatException(env, strm->msg); in Inflater_inflateBytes() 175 JNU_ThrowInternalError(env, strm->msg); in Inflater_inflateBytes()
|
D | ZipFile.c | 70 ThrowZipException(JNIEnv *env, const char *msg) in ThrowZipException() argument 75 if (msg != NULL) { in ThrowZipException() 76 s = JNU_NewStringPlatform(env, msg); in ThrowZipException() 92 char *msg = 0; in ZipFile_open() local 102 zip = ZIP_Get_From_Cache(path, &msg, lastModified); in ZipFile_open() 103 if (zip == 0 && msg == 0) { in ZipFile_open() 118 zip = ZIP_Put_In_Cache0(path, zfd, &msg, lastModified, usemmap); in ZipFile_open() 123 } else if (msg != 0) { in ZipFile_open() 124 ThrowZipException(env, msg); in ZipFile_open() 125 free(msg); in ZipFile_open() [all …]
|
/libcore/ojluni/src/main/java/java/security/cert/ |
D | CertPathValidatorException.java | 98 public CertPathValidatorException(String msg) { in CertPathValidatorException() argument 99 this(msg, null); in CertPathValidatorException() 128 public CertPathValidatorException(String msg, Throwable cause) { in CertPathValidatorException() argument 129 this(msg, cause, null, -1); in CertPathValidatorException() 149 public CertPathValidatorException(String msg, Throwable cause, in CertPathValidatorException() argument 151 this(msg, cause, certPath, index, BasicReason.UNSPECIFIED); in CertPathValidatorException() 175 public CertPathValidatorException(String msg, Throwable cause, in CertPathValidatorException() argument 177 super(msg, cause); in CertPathValidatorException()
|
D | CertPathBuilderException.java | 70 public CertPathBuilderException(String msg) { in CertPathBuilderException() argument 71 super(msg); in CertPathBuilderException() 100 public CertPathBuilderException(String msg, Throwable cause) { in CertPathBuilderException() argument 101 super(msg, cause); in CertPathBuilderException()
|
D | CertStoreException.java | 70 public CertStoreException(String msg) { in CertStoreException() argument 71 super(msg); in CertStoreException() 99 public CertStoreException(String msg, Throwable cause) { in CertStoreException() argument 100 super(msg, cause); in CertStoreException()
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | Logger.java | 783 public void log(Level level, String msg) { in log() argument 787 LogRecord lr = new LogRecord(level, msg); in log() 824 public void log(Level level, String msg, Object param1) { in log() argument 828 LogRecord lr = new LogRecord(level, msg); in log() 845 public void log(Level level, String msg, Object params[]) { in log() argument 849 LogRecord lr = new LogRecord(level, msg); in log() 870 public void log(Level level, String msg, Throwable thrown) { in log() argument 874 LogRecord lr = new LogRecord(level, msg); in log() 924 public void logp(Level level, String sourceClass, String sourceMethod, String msg) { in logp() argument 928 LogRecord lr = new LogRecord(level, msg); in logp() [all …]
|
/libcore/ojluni/src/main/java/java/util/zip/ |
D | InflaterOutputStream.java | 165 String msg = ex.getMessage(); in flush() 166 if (msg == null) { in flush() 167 msg = "Invalid ZLIB data format"; in flush() 169 throw new ZipException(msg); in flush() 269 String msg = ex.getMessage(); in write() 270 if (msg == null) { in write() 271 msg = "Invalid ZLIB data format"; in write() 273 throw new ZipException(msg); in write()
|
/libcore/ojluni/src/main/java/java/util/ |
D | ServiceConfigurationError.java | 71 public ServiceConfigurationError(String msg) { in ServiceConfigurationError() argument 72 super(msg); in ServiceConfigurationError() 83 public ServiceConfigurationError(String msg, Throwable cause) { in ServiceConfigurationError() argument 84 super(msg, cause); in ServiceConfigurationError()
|
/libcore/ojluni/src/main/java/java/net/ |
D | BindException.java | 47 public BindException(String msg) { in BindException() argument 48 super(msg); in BindException() 58 public BindException(String msg, Throwable cause) { in BindException() argument 59 super(msg, cause); in BindException()
|
D | PortUnreachableException.java | 44 public PortUnreachableException(String msg) { in PortUnreachableException() argument 45 super(msg); in PortUnreachableException() 56 public PortUnreachableException(String msg, Throwable cause) { in PortUnreachableException() argument 57 super(msg, cause); in PortUnreachableException()
|
D | ConnectException.java | 47 public ConnectException(String msg) { in ConnectException() argument 48 super(msg); in ConnectException() 58 public ConnectException(String msg, Throwable cause) { in ConnectException() argument 59 super(msg, cause); in ConnectException()
|
D | SocketException.java | 47 public SocketException(String msg) { in SocketException() argument 48 super(msg); in SocketException() 64 public SocketException(String msg, Throwable cause) { in SocketException() argument 65 super(msg, cause); in SocketException()
|
/libcore/ojluni/src/main/java/sun/util/locale/ |
D | LocaleSyntaxException.java | 40 public LocaleSyntaxException(String msg) { in LocaleSyntaxException() argument 41 this(msg, 0); in LocaleSyntaxException() 44 public LocaleSyntaxException(String msg, int errorIndex) { in LocaleSyntaxException() argument 45 super(msg); in LocaleSyntaxException()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | Process2Test.java | 46 StringBuilder msg = new StringBuilder(""); in test_getErrorStream() local 51 msg.append((char) c); in test_getErrorStream() 53 assertEquals("", msg.toString()); in test_getErrorStream() 67 StringBuilder msg = new StringBuilder(""); in test_getErrorStream() local 72 msg.append((char) c); in test_getErrorStream() 74 assertEquals("oops\n", msg.toString()); in test_getErrorStream()
|
/libcore/luni/src/main/java/javax/xml/transform/ |
D | TransformerConfigurationException.java | 41 public TransformerConfigurationException(String msg) { in TransformerConfigurationException() argument 42 super(msg); in TransformerConfigurationException() 64 public TransformerConfigurationException(String msg, Throwable e) { in TransformerConfigurationException() argument 65 super(msg, e); in TransformerConfigurationException()
|
D | TransformerFactoryConfigurationError.java | 50 public TransformerFactoryConfigurationError(String msg) { in TransformerFactoryConfigurationError() argument 52 super(msg); in TransformerFactoryConfigurationError() 79 public TransformerFactoryConfigurationError(Exception e, String msg) { in TransformerFactoryConfigurationError() argument 81 super(msg); in TransformerFactoryConfigurationError()
|
/libcore/luni/src/main/java/javax/xml/parsers/ |
D | FactoryConfigurationError.java | 55 public FactoryConfigurationError(String msg) { in FactoryConfigurationError() argument 56 super(msg); in FactoryConfigurationError() 83 public FactoryConfigurationError(Exception e, String msg) { in FactoryConfigurationError() argument 84 super(msg); in FactoryConfigurationError()
|