Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 220 for setMessage (0.04 sec)

  1. src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java

                // Job should handle exception gracefully
                assertNotNull(result);
            } catch (Exception e) {
                // Exception is expected to be caught within the job
                assertTrue(e.getMessage().contains("Connection failed"));
            }
        }
    
        // Helper method to create mock ClusterHealthResponse
        private ClusterHealthResponse createMockHealthResponse(String clusterName, ClusterHealthStatus status) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

          if (!isPermitted(exception)) {
            String message =
                "Exception "
                    + exception.getClass().getSimpleName()
                    + " was thrown; expected "
                    + getMessage();
            throw new AssertionError(message, exception);
          }
        }
    
        @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
    - 20.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/validation/UriTypeTest.java

                assertEquals("payload() return type should be Class[]", Class[].class, payloadMethod.getReturnType());
            } catch (final NoSuchMethodException e) {
                fail("Required annotation method not found: " + e.getMessage());
            }
        }
    
        // Test creating custom implementation of annotation
        public void test_customAnnotationImplementation() {
            final UriType customAnnotation = new UriType() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 21K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Throwables.java

       * context from when the error or exception was initially detected. Example usage:
       *
       * <pre>
       * assertEquals("Unable to assign a customer id", Throwables.getRootCause(e).getMessage());
       * </pre>
       *
       * @throws IllegalArgumentException if there is a loop in the causal chain
       */
      public static Throwable getRootCause(Throwable throwable) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

          if (!isPermitted(exception)) {
            String message =
                "Exception "
                    + exception.getClass().getSimpleName()
                    + " was thrown; expected "
                    + getMessage();
            throw new AssertionError(message, exception);
          }
        }
    
        @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
    - 21.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableListMultimap.java

        ImmutableMap<Object, ImmutableList<Object>> tmpMap;
        try {
          tmpMap = builder.buildOrThrow();
        } catch (IllegalArgumentException e) {
          throw (InvalidObjectException) new InvalidObjectException(e.getMessage()).initCause(e);
        }
    
        FieldSettersHolder.MAP_FIELD_SETTER.set(this, tmpMap);
        FieldSettersHolder.SIZE_FIELD_SETTER.set(this, tmpSize);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/curl/CurlRequest.java

                                try {
                                    return "<<< " + new String(bytes, 0, len, encoding);
                                } catch (final Exception e) {
                                    return "<<< <" + e.getMessage() + ">";
                                }
                            });
                            dfos.write(bytes, 0, length);
                        }
                        length = bis.read(bytes);
                    }
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/job/SuggestJobTest.java

            try {
                suggestJob.executeSuggestCreator();
                // In test environment, exception handling may vary
            } catch (JobProcessingException e) {
                assertTrue(e.getMessage().contains("SuggestCreator Process terminated"));
            } catch (Exception e) {
                // May throw different exception in test environment
                assertNotNull(e);
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        LogRecord record = Iterables.getOnlyElement(logHandler.getStoredLogRecords());
        // We log failures that occur after startup
        assertThat(record.getMessage())
            .contains("Service FailRunService [FAILED] has failed in the RUNNING state");
      }
    
      /**
       * Tests that a ServiceManager can be fully shut down if one of its failure listeners is slow or
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 25.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

            try {
                charMappingFile.update(updateItem2);
                fail("Should throw DictionaryException");
            } catch (DictionaryException e) {
                assertTrue(e.getMessage().contains("Mapping file was updated"));
            }
        }
    
        // Test reload with IOException
        public void test_reload_ioException() throws Exception {
            // This test verifies error handling during reload
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.5K bytes
    - Viewed (0)
Back to top