- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 220 for setMessage (0.05 sec)
-
src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java
try { scriptExecutor.execute("nonexistent", "some script"); fail("Expected ScriptEngineException"); } catch (ScriptEngineException e) { assertTrue(e.getMessage().contains("nonexistent")); } } public void test_execute_withNullScriptType() { // Try to execute with null script type try {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Feb 10 21:03:40 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/exception/SQLRuntimeExceptionTest.java
sqlException2.setNextException(sqlException3); final SQLRuntimeException sqlRuntimeException = new SQLRuntimeException(sqlException); // ## Act ## final String message = sqlRuntimeException.getMessage(); // ## Assert ## System.out.println(message); assertContains(message, "ErrorCode=7650"); assertContains(message, "SQLState=fooState"); assertContains(message, "some reason");
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java
fail("Should have thrown InvalidQueryException"); } catch (InvalidQueryException e) { // Expected exception assertTrue(e.getMessage().contains("Unknown q:")); assertTrue(e.getMessage().contains("TermQuery")); } } public void test_execute_withNullQuery() { // Test that execute handles null query
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/ConflictingRequirementsException.java
} public Set<Feature<?>> getConflicts() { return conflicts; } public Object getSource() { return source; } @Override public String getMessage() { return super.getMessage() + " (source: " + source + ")"; } @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java
} } public void test_writeThreadDump_withNullPath() { try { ThreadDumpUtil.writeThreadDump(null); // Should not throw exception but log warning } catch (Exception e) { fail("writeThreadDump should handle null path gracefully: " + e.getMessage()); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 15.5K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlRequestTest.java
request.param("key", "value"); try { request.encoding("ISO-8859-1"); fail("Expected CurlException"); } catch (CurlException e) { assertTrue(e.getMessage().contains("must be called before param method")); } } @Test public void testThresholdMethod() { CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/exception/ConverterRuntimeExceptionTest.java
final ConverterRuntimeException e = new ConverterRuntimeException("hoge", "xxx", new RuntimeException("cause")); System.out.println(e.getMessage()); assertThat(e.getPropertyName(), is("hoge")); assertThat(e.getValue(), is((Object) "xxx")); assertThat(e.getCause().getMessage(), is("cause")); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/exception/SUnsupportedOperationExceptionTest.java
public void testSUnsupportedOperationExceptionString() { final ClUnsupportedOperationException clUnsupportedOperationException = new ClUnsupportedOperationException("hoge"); assertThat(clUnsupportedOperationException.getMessage(), is("hoge")); } /** * Test method for * {@link org.codelibs.core.exception.ClUnsupportedOperationException#SUnsupportedOperationException(java.lang.String, java.lang.Throwable)} * . */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java
assertTrue(true); } catch (Exception e) { // Should throw ThemeException or ZipException assertTrue(e instanceof ThemeException || e.getMessage().contains("zip") || e.getMessage().contains("install") || e.getMessage().contains("format")); } } public void test_install_zipWithSkippedEntries() throws IOException {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 14.5K bytes - Viewed (0)