Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 2,324 for exception (0.04 sec)

  1. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

        public void test_FilePurgeVisitor_visitFileFailed() throws IOException {
            // Test that visitFileFailed doesn't throw exception
            // This is primarily a logging method, so we just verify no exception
            assertTrue(true);
        }
    
        // Test FilePurgeVisitor postVisitDirectory
        public void test_FilePurgeVisitor_postVisitDirectory() throws IOException {
            // Test empty directory deletion logic
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

                        updater.close();
                    } catch (Exception e) {
                        // Ignore cleanup exceptions in test
                    }
                }
            }
    
            // The ProtwordsUpdater constructor wraps exceptions in DictionaryException
            // with message "Failed to write a userDict file." - this is covered by
            // the constructor's exception handling implementation
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

                // Verify getResult returns appropriate exception
                DcerpcException exception = bind.getResult();
                assertNotNull(exception, "Should return exception for error result");
                assertEquals("DCERPC_BIND_ERR_PROPOSED_TRANSFER_SYNTAXES_NOT_SUPPORTED", exception.getMessage(),
                        "Should return correct error message");
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/spnego/NegTokenInitTest.java

        @DisplayName("Parse rejects wrong SPNEGO OID")
        void testParseRejectsWrongOid() throws Exception {
            byte[] token = buildInitToken(new ASN1ObjectIdentifier[] { OID_KRB }, 0, null, null, false, "1.2.840.113554.1.2.2", // Kerberos OID instead of SPNEGO OID
                    null, null);
    
            IOException ex = assertThrows(IOException.class, () -> new NegTokenInit(token));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionResult.java

        // Exceptions
        // ------------------------------------------------------------------------
    
        public boolean hasExceptions() {
            return exceptions != null && !exceptions.isEmpty();
        }
    
        public List<Exception> getExceptions() {
            return exceptions == null ? Collections.emptyList() : Collections.unmodifiableList(exceptions);
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 10K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java

                String result = purgeDocJob.execute();
                // The job should handle the exception internally but since QueryBuilders.rangeQuery
                // throws immediately with empty field name, we need to catch it here
                fail("Expected an exception for empty field name");
            } catch (IllegalArgumentException e) {
                // Expected exception for empty field name
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

      private TestCallable firstCallable;
    
      @Override
      public void setUp() throws Exception {
        executor = newCachedThreadPool();
        serializer = ExecutionSequencer.create();
        firstFuture = SettableFuture.create();
        firstCallable = new TestCallable(firstFuture);
      }
    
      @Override
      public void tearDown() throws Exception {
        executor.shutdown();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 20:58:01 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/WebApiUtil.java

        }
    
        /**
         * Sets an error in the current request with the specified status code and exception.
         *
         * @param statusCode The HTTP status code
         * @param e The exception that caused the error
         */
        public static void setError(final int statusCode, final Exception e) {
            LaRequestUtil.getOptionalRequest().ifPresent(req -> req.setAttribute(WEB_API_EXCEPTION, new WebApiException(statusCode, e)));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

            }
    
            @Test
            @DisplayName("Should throw exception on null buffer")
            void testEncodeWithNullBuffer() {
                assertThrows(IllegalArgumentException.class, () -> testRequest.encode(null, 0), "Should throw exception for null buffer");
            }
    
            @Test
            @DisplayName("Should throw exception on negative index")
            void testEncodeWithNegativeIndex() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactoryTest.java

    import org.junit.Test;
    
    /**
     * @author koichik
     */
    public class ParameterizedClassDescFactoryTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testFieldType() throws Exception {
            final Map<TypeVariable<?>, Type> map = ParameterizedClassDescFactory.getTypeVariables(Hoge.class);
            final Field field = Hoge.class.getField("foo");
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top