Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 2,436 for exception (0.06 sec)

  1. src/test/java/org/codelibs/core/io/TraverserUtilTest.java

    import org.codelibs.core.lang.ClassUtil;
    import org.junit.Test;
    
    /**
     * @author koichik
     */
    public class TraverserUtilTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testFromClass_FileSystem() throws Exception {
            final Traverser traverser = TraversalUtil.getTraverser(DummyTest.class);
            assertThat(traverser, is(notNullValue()));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/collection/ArrayIteratorTest.java

            itr.next();
            assertThat(itr.hasNext(), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testRemove() throws Exception {
            exception.expect(ClUnsupportedOperationException.class);
            exception.expectMessage(is("remove"));
            final ArrayIterator<String> itr = new ArrayIterator<String>("1", "2");
            itr.remove();
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/curl/CurlRequest.java

            connect(con -> {
                final RequestProcessor processor = new RequestProcessor(encoding, threshold);
                processor.accept(con);
                try (final CurlResponse res = processor.getResponse()) {
                    actionListener.accept(res);
                } catch (final IOException e) {
                    exceptionListener.accept(e);
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Sun Feb 12 12:21:25 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/connection/RetryConnectionTest.kt

      @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
      private var client = clientTestRule.newClient()
    
      @AfterEach internal fun tearDown() {
        factory.close()
      }
    
      @Test fun nonRetryableIOException() {
        val exception = IOException("Non-handshake exception")
        assertThat(retryTlsHandshake(exception)).isFalse()
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/TextTransformerTest.java

    import org.codelibs.fess.crawler.entity.AccessResultDataImpl;
    import org.codelibs.fess.crawler.entity.ResponseData;
    import org.codelibs.fess.crawler.entity.ResultData;
    import org.codelibs.fess.crawler.exception.CrawlerSystemException;
    import org.codelibs.fess.crawler.extractor.ExtractorFactory;
    import org.codelibs.fess.crawler.extractor.impl.TikaExtractor;
    import org.dbflute.utflute.core.PlainTestCase;
    
    /**
     * @author shinsuke
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

                    final byte[] buf = new byte[1024];
                    while ((is.read(buf)) != -1) {}
                } catch (final Exception ignored) {} finally {
                    try {
                        is.close();
                    } catch (final Exception ignored) {}
                }
            } catch (final Exception ignored) {}
        }
    
        protected void handleFileUploadException(final FileUploadException e) throws ServletException {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Oct 23 13:27:21 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TarExtractorTest.java

    import org.codelibs.fess.crawler.container.StandardCrawlerContainer;
    import org.codelibs.fess.crawler.exception.CrawlerSystemException;
    import org.codelibs.fess.crawler.exception.MaxLengthExceededException;
    import org.codelibs.fess.crawler.extractor.ExtractorFactory;
    import org.codelibs.fess.crawler.helper.impl.MimeTypeHelperImpl;
    import org.dbflute.utflute.core.PlainTestCase;
    import org.slf4j.Logger;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/exception/SRuntimeExceptionTest.java

            final ClRuntimeException ex = new ClRuntimeException("ECL0001", asArray("hoge"));
            assertThat(ex.getMessageCode(), is("ECL0001"));
            assertThat(ex.getArgs().length, is(1));
            assertThat(ex.getArgs()[0], is((Object) "hoge"));
            System.out.println(ex.getMessage());
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetCause() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/collection/EnumerationIteratorTest.java

            assertThat(itr.next(), is("a"));
            assertThat(itr.hasNext(), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testRemove() throws Exception {
            exception.expect(ClUnsupportedOperationException.class);
            exception.expectMessage(is("remove"));
            final Vector<String> vector = new Vector<String>();
            vector.add("a");
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/aether/LoggingRepositoryListener.java

        public void metadataInvalid(RepositoryEvent event) {
            Exception exception = event.getException();
    
            Object metadata;
            if (event.getMetadata().getFile() != null) {
                metadata = event.getMetadata().getFile();
            } else {
                metadata = event.getMetadata();
            }
    
            String errorType = " is invalid";
            if (exception instanceof FileNotFoundException) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top