- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for exceptionMessage (0.38 sec)
-
maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java
exceptionMessage = longMessage; } else if (!exceptionMessage.contains(longMessage)) { exceptionMessage = join(exceptionMessage, System.lineSeparator() + longMessage); } } } if (exceptionMessage == null || exceptionMessage.isEmpty()) { exceptionMessage = t.getClass().getSimpleName();
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Jul 19 15:37:28 GMT 2023 - 10.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/MediaTypeGetTest.kt
override fun parse(string: String): MediaType = string.toMediaType() override fun assertInvalid( string: String, exceptionMessage: String?, ) { val e = assertFailsWith<IllegalArgumentException> { parse(string) } assertEquals(exceptionMessage, e.message) }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/MediaTypeTest.kt
protected open fun parse(string: String): MediaType = string.toMediaTypeOrNull()!! protected open fun assertInvalid( string: String, exceptionMessage: String?, ) { assertNull(string.toMediaTypeOrNull(), exceptionMessage) } @Test fun testParse() { val mediaType = parse("text/plain;boundary=foo;charset=utf-8") assertEquals("text", mediaType.type)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 7.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HttpUrlTest.kt
return url.toHttpUrl() } protected open fun assertInvalid( string: String, exceptionMessage: String?, ) { try { val result = string.toHttpUrl() if (exceptionMessage != null) { fail("Expected failure with $exceptionMessage but got $result") } else { fail("Expected failure but got $result") } } catch (iae: IllegalArgumentException) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 67.9K bytes - Viewed (0) -
maven-core/src/test/resources/apiv4-repo/junit/junit/4.13.1/junit-4.13.1.jar
TestFailure { protected Test fFailedTest; protected Throwable fThrownException; public void TestFailure(Test, Throwable); public Test failedTest(); public Throwable thrownException(); public String toString(); public String trace(); public String exceptionMessage(); public boolean isFailure(); } junit/framework/JUnit4TestAdapterCac$1.class package junit.framework; synchronized class JUnit4TestAdapterCac$1 extends org.junit.runner.notification.RunListener { void JUnit4TestAdapterCac$1(JUnit4TestAdapterCac,...
Archive - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Tue Dec 19 19:08:55 GMT 2023 - 373.7K bytes - Viewed (0)