Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 2,436 for exception (0.11 sec)

  1. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

         * @throws Exception
         */
        public void testGetActualKeyClassOfMap() throws Exception {
            final Map<TypeVariable<?>, Type> map = GenericsUtil.getTypeVariableMap(Hoge.class);
            final Method method = Hoge.class.getMethod("map");
            assertThat(GenericsUtil.getActualKeyClassOfMap(method.getGenericReturnType(), map), is(sameClass(String.class)));
        }
    
        /**
         * @throws Exception
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/FaultTolerantClient.java

            void onRequest(FaultTolerantClient client, RequestData request, int count);
    
            void onRequestEnd(FaultTolerantClient client, RequestData request, List<Exception> exceptionList);
    
            void onException(FaultTolerantClient client, RequestData request, int count, Exception e);
    
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

        SomeChainingException exception = new SomeChainingException(new SomeChainingException(cause));
        assertSame(cause, getRootCause(exception));
      }
    
      public void testGetRootCause_loop() {
        Exception cause = new Exception();
        Exception exception = new Exception(cause);
        cause.initCause(exception);
        IllegalArgumentException expected =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

    import org.codelibs.fess.crawler.entity.ResponseData;
    import org.codelibs.fess.crawler.exception.ChildUrlsException;
    import org.codelibs.fess.crawler.exception.CrawlerSystemException;
    import org.codelibs.fess.crawler.exception.CrawlingAccessException;
    import org.codelibs.fess.crawler.exception.MaxLengthExceededException;
    import org.codelibs.fess.crawler.helper.ContentLengthHelper;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 23 01:54:36 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/CloseablesTest.java

        // make sure that no exception is thrown if 'swallowException' is true
        // when the mock does throw an exception.
        setupCloseable(true);
        doClose(mockCloseable, true);
      }
    
      public void testClose_closeableWithThrownException() throws IOException {
        // make sure that the exception is thrown if 'swallowException' is false
        // when the mock does throw an exception.
        setupCloseable(true);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/handling-errors.md

    ```
    
    ## Install custom exception handlers
    
    You can add custom exception handlers with <a href="https://www.starlette.io/exceptions/" class="external-link" target="_blank">the same exception utilities from Starlette</a>.
    
    Let's say you have a custom exception `UnicornException` that you (or a library you use) might `raise`.
    
    And you want to handle this exception globally with FastAPI.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

    import org.apache.maven.cli.transfer.Slf4jMavenTransferListener;
    import org.apache.maven.eventspy.internal.EventSpyDispatcher;
    import org.apache.maven.execution.MavenExecutionRequest;
    import org.apache.maven.execution.ProfileActivation;
    import org.apache.maven.execution.ProjectActivation;
    import org.apache.maven.jline.MessageUtils;
    import org.apache.maven.model.root.DefaultRootLocator;
    import org.apache.maven.project.MavenProject;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/io/ResourceBundleUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetBundle() throws Exception {
            final ResourceBundle bundle = ResourceBundleUtil.getBundle("CLMessages", null, this.getClass().getClassLoader());
            assertThat(bundle, is(notNullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetString() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java

        Exception exception = new RuntimeException("test");
        UncheckedExecutionException e =
            assertThrows(
                UncheckedExecutionException.class,
                () -> timeLimiter.callWithTimeout(callableThrowing(exception), DELAY_MS, MILLISECONDS));
        assertThat(e.getCause()).isEqualTo(exception);
      }
    
      public void testCallUninterruptiblyWithTimeout_propagatesReturnValue() throws Exception {
        String result =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/reporting/MavenReportException.java

     * under the License.
     */
    package org.apache.maven.reporting;
    
    /**
     * An exception occurring during the execution of a Maven report.
     *
     */
    @Deprecated
    public class MavenReportException extends Exception {
        public MavenReportException(String msg) {
            super(msg);
        }
    
        public MavenReportException(String msg, Exception e) {
            super(msg, e);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top