Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 2,174 for Exception (0.07 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/TestExceptions.java

    import com.google.common.annotations.GwtCompatible;
    
    /** Exception classes for use in tests. */
    @GwtCompatible
    final class TestExceptions {
      static final class SomeError extends Error {}
    
      static final class SomeCheckedException extends Exception {}
    
      static final class SomeOtherCheckedException extends Exception {}
    
      static final class YetAnotherCheckedException extends Exception {}
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/ndr/NdrExceptionTest.java

         * Test the constructor with a message.
         * Ensures that the exception is created with the correct message.
         */
        @Test
        void testConstructorWithMessage() {
            String testMessage = "This is a test message for NdrException.";
            NdrException exception = new NdrException(testMessage);
            assertEquals(testMessage, exception.getMessage(), "The exception message should match the input message.");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/JobHelperTest.java

            MonitorTarget target = new MonitorTarget(jobLog);
            try {
                target.expired();
                // Should not update when endTime is set - no exception expected
            } catch (Exception e) {
                // May fail due to missing client in test environment
                assertTrue(e.getMessage().contains("client"));
            }
        }
    
        public void test_startMonitorTask() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java

            // Test that constructor works in different thread
            final CrawlerEngineClient[] clientHolder = new CrawlerEngineClient[1];
            final Exception[] exceptionHolder = new Exception[1];
    
            Thread thread = new Thread(() -> {
                try {
                    clientHolder[0] = new CrawlerEngineClient();
                } catch (Exception e) {
                    exceptionHolder[0] = e;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ZipExtractor.java

    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.fess.crawler.entity.ExtractData;
    import org.codelibs.fess.crawler.exception.CrawlerSystemException;
    import org.codelibs.fess.crawler.exception.ExtractException;
    import org.codelibs.fess.crawler.exception.MaxLengthExceededException;
    import org.codelibs.fess.crawler.extractor.Extractor;
    import org.codelibs.fess.crawler.extractor.ExtractorFactory;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                    conn.disconnect(true, true);
                } catch (Exception e) {
                    log.debug("Error closing connection: {}", e.getMessage());
                }
            });
            connections.clear();
    
            nonPooledConnections.forEach(conn -> {
                try {
                    conn.disconnect(true, true);
                } catch (Exception e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java

    import java.util.HashMap;
    import java.util.Map;
    
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.ds.callback.IndexUpdateCallback;
    import org.codelibs.fess.entity.DataStoreParams;
    import org.codelibs.fess.exception.JobProcessingException;
    import org.codelibs.fess.opensearch.config.exentity.DataConfig;
    import org.codelibs.fess.script.AbstractScriptEngine;
    import org.codelibs.fess.script.ScriptEngineFactory;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 4.1K bytes
    - Viewed (1)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelProblemCollector.java

            add(severity, version, message, null, exception);
        }
    
        void add(
                BuilderProblem.Severity severity,
                ModelProblem.Version version,
                String message,
                InputLocation location,
                Exception exception);
    
        default void add(ModelProblem problem) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Dec 19 14:50:21 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

      }
    
      public void testEvilFuture_setFuture() throws Exception {
        RuntimeException exception = new RuntimeException("you didn't say the magic word!");
        AbstractFuture<String> evilFuture =
            new AbstractFuture<String>() {
              @Override
              public void addListener(Runnable r, Executor e) {
                throw exception;
              }
            };
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

        assertEquals(null, getResponse(methodName).getResult());
      }
    
      /**
       * Asserts that a prior call that had caused this thread to block or wait has since returned the
       * expected boolean value.
       */
      public void assertPriorCallReturns(boolean expected, @Nullable String methodName)
          throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top