Search Options

Results per page
Sort
Preferred Languages
Advance

Results 521 - 530 of 2,327 for Exceptions (0.04 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/processor/impl/SitemapsResponseProcessorTest.java

            } catch (Exception e) {
                fail("Should not throw exception in test setup");
            }
    
            // Execute and verify ChildUrlsException is thrown
            try {
                processor.process(responseData);
                fail("Should throw ChildUrlsException");
            } catch (ChildUrlsException e) {
                // Expected exception
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 12K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/exception/DataStoreException.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.exception;
    
    /**
     * Exception thrown when an error occurs during data store operations.
     * This is a system-level exception that indicates problems with data store
     * configuration, connectivity, or data processing.
     */
    public class DataStoreException extends FessSystemException {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/misc/DisposableUtilTest.java

        private int count;
    
        private String names = "";
    
        /**
         * @throws Exception
         */
        @Before
        public void setUp() throws Exception {
            DisposableUtil.dispose();
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void test1() throws Exception {
            DisposableUtil.add(new TestDisposable("a"));
            assertThat(DisposableUtil.disposables.size(), is(1));
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/pac/PacLogonInfoTest.java

            byte[] tooSmall = new byte[10];
    
            PACDecodingException exception = assertThrows(PACDecodingException.class, () -> new PacLogonInfo(tooSmall));
    
            assertEquals("Malformed PAC", exception.getMessage());
        }
    
        @Test
        @DisplayName("Test getters return expected values using mocks")
        void testGetters() throws Exception {
            // Use mocking to test getters without complex PAC data creation
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferEvent.java

                String wagon, final Exception exception, final int requestType, ArtifactTransferResource artifact) {
            this(wagon, TRANSFER_ERROR, requestType, artifact);
    
            this.exception = exception;
        }
    
        public ArtifactTransferResource getResource() {
            return artifact;
        }
    
        /**
         * @return Returns the exception.
         */
        public Exception getException() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/collection/IndexedIteratorTest.java

    import java.io.StringReader;
    import java.util.List;
    
    import org.junit.Test;
    
    /**
     * @author wyukawa
     *
     */
    public class IndexedIteratorTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void test() throws Exception {
            final List<String> list = newArrayList();
            list.add("aaa");
            list.add("bbb");
            list.add("ccc");
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/exception/WebApiException.java

     */
    package org.codelibs.fess.exception;
    
    /**
     * Exception thrown when web API operations encounter errors.
     * This exception includes an HTTP status code to indicate the nature of the error.
     */
    public class WebApiException extends FessSystemException {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * The HTTP status code associated with this exception.
         */
        private final int statusCode;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

            // Test getSecurity with empty descriptor - should throw exception
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                msrpcShareGetInfo.getSecurity();
            });
        }
    
        @Test
        void testGetSecurityWithLargeSecurityDescriptor() throws Exception {
            // Test with large valid security descriptor
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/normalizer/NormalizerChainTest.java

    import org.junit.Test;
    
    public class NormalizerChainTest {
    
        @Test
        public void test_constructor() throws Exception {
            NormalizerChain chain = new NormalizerChain();
            assertNotNull(chain);
        }
    
        @Test
        public void test_singleNormalizer() throws Exception {
            NormalizerChain chain = new NormalizerChain();
            chain.add(new FullWidthToHalfWidthAlphabetNormalizer());
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 17 14:23:01 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. impl/maven-core/src/test/java/org/apache/maven/internal/impl/DefaultProjectManagerTest.java

                            false,
                            null,
                            true));
    
            // Verify that we get the same exception when the artifactId does not match the module name
            assertExceptionMessageContains("", "anotherArtifact");
    
            // Verify that no exception is thrown when the artifactId is the module name
            when(artifact.getArtifactId()).thenReturn("org.foo.bar");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Dec 17 16:17:01 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top