Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,883 for Inception (0.21 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/CallablesTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible
      public void testAsAsyncCallable_exception() throws Exception {
        final Exception expected = new IllegalArgumentException();
        Callable<String> callable =
            new Callable<String>() {
              @Override
              public String call() throws Exception {
                throw expected;
              }
            };
    
        AsyncCallable<String> asyncCallable =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

      }
    
      public void testConstructor() throws Exception {
        Invokable<A, A> invokable = A.constructor();
        assertTrue(invokable.isPublic());
        assertFalse(invokable.isPackagePrivate());
        assertFalse(invokable.isAbstract());
        assertFalse(invokable.isStatic());
        assertTrue(invokable.isAnnotationPresent(Tested.class));
      }
    
      public void testAbstractMethod() throws Exception {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  3. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-container-default/1.0-alpha-32/plexus-container-default-1.0-alpha-32.jar

    ration.PlexusConfiguration); public void initialize() throws exception.ComponentRepositoryE; public void initializeComponentD() throws exception.ComponentRepositoryE; private void initializeComponentD() throws exception.ComponentRepositoryE; public void addComponentDescript(org.codehaus.plexus.configuration.PlexusConfiguration) throws exception.ComponentRepositoryE; public void addComponentDescript(ComponentDescriptor) throws exception.ComponentRepositoryE; public void validateComponentDes(ComponentDescriptor)...
    Archive
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Tue Oct 16 20:15:40 GMT 2007
    - 233.3K bytes
    - Viewed (0)
  4. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-container-default/1.0-alpha-32/plexus-container-default-1.0-alpha-32.jar

    ration.PlexusConfiguration); public void initialize() throws exception.ComponentRepositoryE; public void initializeComponentD() throws exception.ComponentRepositoryE; private void initializeComponentD() throws exception.ComponentRepositoryE; public void addComponentDescript(org.codehaus.plexus.configuration.PlexusConfiguration) throws exception.ComponentRepositoryE; public void addComponentDescript(ComponentDescriptor) throws exception.ComponentRepositoryE; public void validateComponentDes(ComponentDescriptor)...
    Archive
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 233.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/Closer.java

     *   <li>If no exceptions or errors were thrown in the try block, the <i>first</i> exception thrown
     *       by an attempt to close a resource will be thrown.
     *   <li>Any exception caught when attempting to close a resource that is <i>not</i> thrown (because
     *       another exception is already being thrown) is <i>suppressed</i>.
     * </ul>
     *
     * <p>An exception that is suppressed is not thrown. The method of suppression used depends on the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

      private static boolean hasConstructorUsableByGetChecked(
          Class<? extends Exception> exceptionClass) {
        try {
          Exception unused = newWithCause(exceptionClass, new Exception());
          return true;
        } catch (Throwable t) { // sneaky checked exception
          return false;
        }
      }
    
      private static <X extends Exception> X newWithCause(Class<X> exceptionClass, Throwable cause) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedInputs.java

    final class FuturesGetCheckedInputs {
      static final Exception CHECKED_EXCEPTION = new Exception("mymessage");
      static final Future<String> FAILED_FUTURE_CHECKED_EXCEPTION =
          immediateFailedFuture(CHECKED_EXCEPTION);
      static final RuntimeException UNCHECKED_EXCEPTION = new RuntimeException("mymessage");
      static final Future<String> FAILED_FUTURE_UNCHECKED_EXCEPTION =
          immediateFailedFuture(UNCHECKED_EXCEPTION);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 13:46:56 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  8. docs_src/handling_errors/tutorial006.py

    from fastapi import FastAPI, HTTPException
    from fastapi.exception_handlers import (
        http_exception_handler,
        request_validation_exception_handler,
    )
    from fastapi.exceptions import RequestValidationError
    from starlette.exceptions import HTTPException as StarletteHTTPException
    
    app = FastAPI()
    
    
    @app.exception_handler(StarletteHTTPException)
    async def custom_http_exception_handler(request, exc):
        print(f"OMG! An HTTP error!: {repr(exc)}")
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Aug 09 11:10:33 GMT 2020
    - 928 bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/convert/IntegerConversionUtilTest.java

     */
    public class IntegerConversionUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testToInteger() throws Exception {
            assertEquals(new Integer("1000"), IntegerConversionUtil.toInteger("1,000"));
        }
    
        /**
         * @throws Exception
         */
        public void testToPrimitiveInt() throws Exception {
            assertEquals(1000, IntegerConversionUtil.toPrimitiveInt("1,000"));
        }
    
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/exception/ExceptionSummary.java

     * </li>
     * <li>child exception summaries.</li>
     * </ul>
     */
    public class ExceptionSummary {
    
        private Throwable exception;
    
        private String message;
    
        private String reference;
    
        private List<ExceptionSummary> children;
    
        public ExceptionSummary(Throwable exception, String message, String reference) {
            this(exception, message, reference, null);
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 2.2K bytes
    - Viewed (0)
Back to top