- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 220 for setMessage (0.05 sec)
-
android/guava-tests/test/com/google/common/base/ThrowablesTest.java
super(message); } } StackTraceException e = new StackTraceException("my message"); String firstLine = quote(e.getClass().getName() + ": " + e.getMessage()); String secondLine = "\\s*at " + ThrowablesTest.class.getName() + "\\..*"; String moreLines = "(?:.*" + System.lineSeparator() + "?)*"; String expected =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 14.9K bytes - Viewed (0) -
guava/src/com/google/common/eventbus/SubscriberRegistry.java
* thread. To accomplish both goals, we wrap that IllegalArgumentException in a new * instance. */ throw new IllegalArgumentException(e.getCause().getMessage(), e.getCause()); } /* * If some other exception happened, we just propagate the wrapper * UncheckedExecutionException, which has the stack trace from this thread and which has its
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java
try { indexUpdateCallback.store(paramMap, dataMap); fail("Should throw DataStoreException"); } catch (DataStoreException e) { assertTrue(e.getMessage().contains("url is null")); } } public void test_store_withLabels() { // Setup label matching labelTypeHelper.matchedLabels.add("label1");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 24.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java
SuggestCreator.initializeProbes(); // If no exception thrown, test passes assertTrue(true); } catch (Exception e) { fail("initializeProbes should not throw exception: " + e.getMessage()); } } // Test process with properties path public void test_process_withPropertiesPath() { try { // Create temporary properties file
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/DocumentHelperTest.java
DocumentHelper documentHelper = new DocumentHelper(); try { documentHelper.init(); } catch (Exception e) { fail("init() should not throw an exception: " + e.getMessage()); } } public void test_getTitle() { DocumentHelper documentHelper = new DocumentHelper(); ResponseData responseData = new ResponseData();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java
public void test_init() { try { languageHelper.init(); // Should not throw exception } catch (Exception e) { fail("init() should not throw an exception: " + e.getMessage()); } } public void test_updateDocument_withExistingLang() { Map<String, Object> doc = new HashMap<>(); doc.put("lang", "ja"); doc.put("title", "タイトル");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 12.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/BooleanQueryCommandTest.java
try { booleanQueryCommand.execute(context, termQuery, 1.0f); fail("Should throw InvalidQueryException"); } catch (InvalidQueryException e) { assertTrue(e.getMessage().contains("Unknown q:")); } } // Test convertBooleanQuery with MUST clause public void test_convertBooleanQuery_withMustClause() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 14.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
* message}. */ @Override public String getMessage() { // requireNonNull is safe because ExampleStackTrace sets a non-null message. StringBuilder message = new StringBuilder(requireNonNull(super.getMessage())); for (Throwable t = conflictingStackTrace; t != null; t = t.getCause()) { message.append(", ").append(t.getMessage()); } return message.toString(); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 35.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/ThrowablesTest.java
super(message); } } StackTraceException e = new StackTraceException("my message"); String firstLine = quote(e.getClass().getName() + ": " + e.getMessage()); String secondLine = "\\s*at " + ThrowablesTest.class.getName() + "\\..*"; String moreLines = "(?:.*" + System.lineSeparator() + "?)*"; String expected =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 14.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/PythonJob.java
try { executePython(); } catch (final Exception e) { logger.warn("Failed to run python command.", e); resultBuf.append(e.getMessage()).append("\n"); } finally { if (timeoutTask != null && !timeoutTask.isCanceled()) { timeoutTask.cancel(); } } return resultBuf.toString();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 8.2K bytes - Viewed (0)