Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 601 - 610 of 1,188 for Exception (0.05 seconds)

  1. guava-tests/test/com/google/common/collect/EnumMultisetTest.java

          return EnumMultiset.create(elements);
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testEquals() throws Exception {
        new ClassSanityTester()
            .setDistinctValues(Class.class, Color.class, Gender.class)
            .setDistinctValues(Enum.class, Color.BLUE, Color.RED)
            .forAllPublicStaticMethods(EnumMultisetFactory.class)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6K bytes
    - Click Count (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ObjectBasedValueSource.java

            if (expression == null || expression.trim().isEmpty()) {
                return null;
            }
    
            try {
                return ReflectionValueExtractor.evaluate(expression, root, false);
            } catch (Exception e) {
                addFeedback("Failed to extract \'" + expression + "\' from: " + root, e);
            }
    
            return null;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.4K bytes
    - Click Count (0)
Back to Top