Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1741 - 1750 of 2,828 for exception (0.16 seconds)

  1. src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java

            // Since createTask requires FessConfig, it may not work properly
            // We test that the method can be called without throwing exceptions
            try {
                emptyGenerator.createTask(path, docMap);
            } catch (Exception e) {
                // Expected when FessConfig is not available
            }
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/webapp/WebXmlTest.java

    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    
    public class WebXmlTest extends UnitFessTestCase {
    
        private Document webXmlDocument;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            final DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
            factory.setNamespaceAware(true);
            final DocumentBuilder builder = factory.newDocumentBuilder();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 09:08:35 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java

            request.encode(buffer1, 0);
            request.encode(buffer2, 0);
    
            assertArrayEquals(buffer1, buffer2);
        }
    
        @Test
        @DisplayName("Test encode with insufficient buffer throws exception")
        void testEncodeWithInsufficientBuffer() {
            ValidateNegotiateInfoRequest request =
                    new ValidateNegotiateInfoRequest(DEFAULT_CAPABILITIES, defaultClientGuid, DEFAULT_SECURITY_MODE, defaultDialects);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  4. android-test/src/androidDeviceTest/java/okhttp/android/test/sni/SniOverrideTest.kt

                  if (name[0] as Int == 2) {
                    Log.d("SniOverrideTest", "cert: " + name[1])
                  }
                }
                true
              } catch (e: Exception) {
                false
              }
            }.build()
    
        val request =
          Request
            .Builder()
            .url("https://sni.cloudflaressl.com/cdn-cgi/trace")
            .header("Host", "cloudflare-dns.com")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 26 07:38:51 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticator.java

    import org.codelibs.fess.app.web.base.login.EntraIdCredential.EntraIdUser;
    import org.codelibs.fess.app.web.base.login.FessLoginAssist.LoginCredentialResolver;
    import org.codelibs.fess.crawler.Constants;
    import org.codelibs.fess.exception.SsoLoginException;
    import org.codelibs.fess.mylasta.action.FessUserBean;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.sso.SsoAuthenticator;
    import org.codelibs.fess.sso.SsoResponseType;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 08:03:27 GMT 2026
    - 56.8K bytes
    - Click Count (0)
  6. guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

          new Runnable() {
            @Override
            public void run() {
              listenerLatch.countDown();
            }
          };
    
      @BeforeExperiment
      void setUp() throws Exception {
        executorService =
            new ThreadPoolExecutor(
                NUM_THREADS,
                NUM_THREADS,
                Long.MAX_VALUE,
                SECONDS,
                new ArrayBlockingQueue<Runnable>(1000));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 17:42:14 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/Callables.java

        /*
         * setName should usually succeed, but the security manager can prohibit it. Is there a way to
         * see if we have the modifyThread permission without catching an exception?
         */
        try {
          currentThread.setName(threadName);
          return true;
        } catch (SecurityException e) {
          return false;
        }
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/io/CharSinkTester.java

      @Override
      protected void setUp() throws Exception {
        this.sink = factory.createSink();
      }
    
      public void testOpenStream() throws IOException {
        Writer writer = sink.openStream();
        try {
          writer.write(data);
        } finally {
          writer.close();
        }
    
        assertContainsExpectedString();
      }
    
      public void testOpenBufferedStream() throws IOException {
        Writer writer = sink.openBufferedStream();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainTest.java

    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.verify;
    
    class DefaultToolchainTest {
        private final Logger logger = mock(Logger.class);
    
        @BeforeEach
        void setUp() throws Exception {
            MockitoAnnotations.initMocks(this);
        }
    
        private DefaultToolchain newDefaultToolchain(ToolchainModel model) {
            return new DefaultToolchain(model, logger) {
                @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 11 12:33:57 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/net/UrlEscaperTesting.java

      @SuppressWarnings("nullness") // test of a bogus call
      static void assertBasicUrlEscaperExceptPercent(UnicodeEscaper e) {
        // URL escapers should throw null pointer exceptions for null input
        try {
          e.escape((String) null);
          fail("Escaping null string should throw exception");
        } catch (NullPointerException x) {
          // pass
        }
    
        // All URL escapers should leave 0-9, A-Z, a-z unescaped
        assertUnescaped(e, 'a');
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 3.7K bytes
    - Click Count (0)
Back to Top