Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 472 for throwing (0.04 sec)

  1. src/test/java/org/codelibs/fess/exception/StorageExceptionTest.java

            assertEquals(level1, level3.getCause().getCause());
            assertEquals("Level 1", level3.getCause().getCause().getMessage());
        }
    
        public void test_throwAndCatchException() {
            // Test throwing and catching the exception
            String expectedMessage = "Storage failure";
    
            try {
                throw new StorageException(expectedMessage);
            } catch (StorageException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientExceptionTest.java

                    foundTestMethod = true;
                    break;
                }
            }
            assertTrue(foundTestMethod);
        }
    
        public void test_throwAndCatch() {
            // Test throwing and catching the exception
            String message = "Throw and catch test";
    
            try {
                throw new SearchEngineClientException(message);
            } catch (SearchEngineClientException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/exception/NullArgumentException.java

     */
    package org.codelibs.core.exception;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    /**
     * Exception thrown when an argument is null.
     *
     * Intended to be used instead of throwing {@link NullPointerException}.
     *
     * @author wyukawa
     */
    public class NullArgumentException extends ClIllegalArgumentException {
    
        /**
         *
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/DataStoreExceptionTest.java

            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        public void test_throwAndCatch() {
            // Test throwing and catching the exception
            final String errorMessage = "Data store operation failed";
    
            try {
                throw new DataStoreException(errorMessage);
            } catch (DataStoreException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/PluginExceptionTest.java

            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        public void test_throwAndCatch() {
            // Test throwing and catching PluginException
            String expectedMessage = "Plugin loading failed";
    
            try {
                throw new PluginException(expectedMessage);
            } catch (PluginException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java

            StackTraceElement firstElement = stackTrace[0];
            assertEquals(this.getClass().getName(), firstElement.getClassName());
        }
    
        public void test_throwAndCatch() {
            // Test throwing and catching the exception
            String username = "nonexistentuser";
    
            try {
                throw new FessUserNotFoundException(username);
            } catch (FessUserNotFoundException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AsyncFunction.java

       * Future} need not be {@linkplain Future#isDone done}, making {@code AsyncFunction} suitable for
       * asynchronous derivations.
       *
       * <p>Throwing an exception from this method is equivalent to returning a failing {@code Future}.
       */
      ListenableFuture<O> apply(@ParametricNullness I input) throws Exception;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/AsyncCallable.java

      /**
       * Computes a result {@code Future}. The output {@code Future} need not be {@linkplain
       * Future#isDone done}, making {@code AsyncCallable} suitable for asynchronous derivations.
       *
       * <p>Throwing an exception from this method is equivalent to returning a failing {@link
       * ListenableFuture}.
       */
      ListenableFuture<V> call() throws Exception;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java

            assertEquals("Invalid LDAP parameter", exception.getCause().getCause().getMessage());
        }
    
        public void test_throwAndCatch() {
            // Test throwing and catching the exception
            String expectedMessage = "LDAP authentication failed";
            try {
                throw new LdapOperationException(expectedMessage);
            } catch (LdapOperationException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java

            assertEquals(middleCause, topException.getCause());
            assertEquals(rootCause, topException.getCause().getCause());
        }
    
        public void test_throwAndCatch() {
            // Test throwing and catching the exception
            String componentName = "cacheManager";
            try {
                throw new ContainerNotAvailableException(componentName);
            } catch (ContainerNotAvailableException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
Back to top