Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,162 for exceptions (0.34 sec)

  1. okhttp/src/main/kotlin/okhttp3/Interceptor.kt

     * includes both natural exceptions such as unreachable servers, as well as synthetic exceptions
     * when responses are of an unexpected type or cannot be decoded.
     *
     * Other exception types cancel the current call:
     *
     *  * For synchronous calls made with [Call.execute], the exception is propagated to the caller.
     *
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionResult.java

            this.dependencyResolutionResult = dependencyResolutionResult;
    
            return this;
        }
    
        public List<Throwable> getExceptions() {
            return exceptions;
        }
    
        public MavenExecutionResult addException(Throwable t) {
            exceptions.add(t);
    
            return this;
        }
    
        public boolean hasExceptions() {
            return !getExceptions().isEmpty();
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KtFirReferenceResolver.kt

    import org.jetbrains.kotlin.analysis.api.lifetime.allowAnalysisOnEdt
    import org.jetbrains.kotlin.utils.exceptions.errorWithAttachment
    import org.jetbrains.kotlin.utils.exceptions.shouldIjPlatformExceptionBeRethrown
    import org.jetbrains.kotlin.utils.exceptions.withPsiEntry
    
    object KtFirReferenceResolver : ResolveCache.PolyVariantResolver<KtReference> {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Sep 01 12:20:03 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/Closeables.java

       *     threw = false;
       *   } finally {
       *     // If an exception occurs, rethrow it only if threw==false:
       *     Closeables.close(stream, threw);
       *   }
       * }
       * }</pre>
       *
       * @param closeable the {@code Closeable} object to be closed, or null, in which case this method
       *     does nothing
       * @param swallowIOException if true, don't propagate IO exceptions thrown by the {@code close}
       *     methods
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelProcessor.java

                        }
                    } catch (ModelParserException e) {
                        exceptions.add(e);
                    }
                }
                try {
                    return doRead(request);
                } catch (IOException e) {
                    exceptions.forEach(e::addSuppressed);
                    throw e;
                }
            } else {
                return doRead(request);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NtlmAuthenticator.java

     */
    
    package jcifs.smb;
    
    
    /**
     * This class can be extended by applications that wish to trap authentication related exceptions and automatically
     * retry the exceptional operation with different credentials. Read <a href="../../../authhandler.html">jCIFS Exceptions
     * and NtlmAuthenticator</a> for complete details.
     */
    
    public abstract class NtlmAuthenticator {
    
        private static NtlmAuthenticator auth;
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/BloomFilterTest.java

              }
            };
    
        List<Throwable> exceptions = runThreadsAndReturnExceptions(numThreads, task);
    
        assertThat(exceptions).isEmpty();
      }
    
      private static List<Throwable> runThreadsAndReturnExceptions(int numThreads, Runnable task) {
        List<Thread> threads = new ArrayList<>(numThreads);
        final List<Throwable> exceptions = new ArrayList<>(numThreads);
        for (int i = 0; i < numThreads; i++) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  8. tests/test_response_model_invalid.py

    from typing import List
    
    import pytest
    from fastapi import FastAPI
    from fastapi.exceptions import FastAPIError
    
    
    class NonPydanticModel:
        pass
    
    
    def test_invalid_response_model_raises():
        with pytest.raises(FastAPIError):
            app = FastAPI()
    
            @app.get("/", response_model=NonPydanticModel)
            def read_root():
                pass  # pragma: nocover
    
    
    def test_invalid_response_model_sub_type_raises():
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Feb 29 13:04:35 GMT 2020
    - 1.1K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceEntryTester.java

          // the operation would be a no-op, so exceptions are allowed but not required
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      public void testReplaceEntry_unsupportedAbsentKey() {
        try {
          getMap().replace(k3(), v3(), v4());
        } catch (UnsupportedOperationException tolerated) {
          // the operation would be a no-op, so exceptions are allowed but not required
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/eventbus/EventBus.java

      }
    
      /** Simple logging handler for subscriber exceptions. */
      static final class LoggingHandler implements SubscriberExceptionHandler {
        static final LoggingHandler INSTANCE = new LoggingHandler();
    
        @Override
        public void handleException(Throwable exception, SubscriberExceptionContext context) {
          Logger logger = logger(context);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Aug 25 16:37:57 GMT 2021
    - 12.8K bytes
    - Viewed (0)
Back to top