Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 591 - 600 of 1,180 for Exception (0.07 seconds)

  1. samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java

     */
    public final class PrintEventsNonConcurrent {
      private final OkHttpClient client = new OkHttpClient.Builder()
          .eventListener(new PrintingEventListener())
          .build();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://publicobject.com/helloworld.txt")
            .build();
    
        System.out.println("REQUEST 1 (new connection)");
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Feb 16 23:20:49 GMT 2020
    - 5.3K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildStep.java

        final Collection<BuildStep> successors = new HashSet<>();
        final AtomicInteger status = new AtomicInteger();
        final AtomicBoolean skip = new AtomicBoolean();
        volatile Exception exception;
    
        public BuildStep(String name, MavenProject project, Lifecycle.Phase phase) {
            this.name = Objects.requireNonNull(name, "name cannot be null");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Apr 30 16:21:08 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/features/ConflictingRequirementsException.java

    /**
     * Thrown when requirements on a tester method or class conflict with each other.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    public class ConflictingRequirementsException extends Exception {
      private final Set<Feature<?>> conflicts;
      private final Object source;
    
      public ConflictingRequirementsException(
          String message, Set<Feature<?>> conflicts, Object source) {
        super(message);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/settings/SettingsConfigurationException.java

     * under the License.
     */
    package org.apache.maven.settings;
    
    /**
     * If there was an error in the settings file.
     *
     */
    public class SettingsConfigurationException extends Exception {
        private int lineNumber;
    
        private int columnNumber;
    
        public SettingsConfigurationException(String message) {
            super(message);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  5. docs/en/docs/how-to/authentication-error-status-code.md

    {* ../../docs_src/authentication_error_status_code/tutorial001_an_py39.py hl[9:13] *}
    
    /// tip
    
    Notice that the function returns the exception instance, it doesn't raise it. The raising is done in the rest of the internal code.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 24 19:03:06 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  6. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/InterruptibleTask.java

          afterRanInterruptiblySuccess(uncheckedCastNullableTToT(result));
        } else {
          afterRanInterruptiblyFailure(error);
        }
      }
    
      abstract boolean isDone();
    
      abstract T runInterruptibly() throws Exception;
    
      abstract void afterRanInterruptiblySuccess(T result);
    
      abstract void afterRanInterruptiblyFailure(Throwable error);
    
      final void interruptTask() {}
    
      abstract String toPendingString();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataRetrievalException.java

     */
    package org.apache.maven.repository.metadata;
    
    /**
     * Error while retrieving repository metadata from the repository.
     *
     */
    @Deprecated
    public class MetadataRetrievalException extends Exception {
    
        private ArtifactMetadata artifact;
    
        public MetadataRetrievalException(String message) {
            this(message, null, null);
        }
    
        public MetadataRetrievalException(Throwable cause) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/AbstractProjectInheritanceTestCase.java

        protected File getLocalRepositoryPath() {
            return getTestFile("target/test-classes/inheritance-repo/" + getTestSeries());
        }
    
        @Override
        @BeforeEach
        public void setUp() throws Exception {
            super.setUp();
            EmptyLifecycleBindingsInjector.useEmpty();
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Feb 08 16:25:25 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  9. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

          return (Class<? extends Annotation>) clazz;
        } else {
          throw new IllegalArgumentException(rootLocaleFormat("%s is not an annotation.", clazz));
        }
      }
    
      public void testFeatureEnums() throws Exception {
        assertGoodFeatureEnum(CollectionFeature.class);
        assertGoodFeatureEnum(ListFeature.class);
        assertGoodFeatureEnum(SetFeature.class);
        assertGoodFeatureEnum(CollectionSize.class);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java

                }
                ArtifactRepository localRepo = new MetadataRepository(result);
                metadata.storeInLocalRepository(localRepo, localRepo);
                merged = true;
            } catch (Exception e) {
                throw new RepositoryException(e.getMessage(), e);
            }
        }
    
        @Override
        public boolean isMerged() {
            return merged;
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.5K bytes
    - Click Count (0)
Back to Top