Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 214 for throws (0.82 sec)

  1. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

    @AndroidIncompatible
    @GwtIncompatible
    public class FinalizableReferenceQueueTest extends TestCase {
    
      private @Nullable FinalizableReferenceQueue frq;
    
      @Override
      protected void tearDown() throws Exception {
        frq = null;
      }
    
    
      public void testFinalizeReferentCalled() {
        final MockReference reference = new MockReference(frq = new FinalizableReferenceQueue());
    
        GcFinalization.awaitDone(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. platforms/core-runtime/tooling-api-provider/src/main/java/org/gradle/tooling/internal/provider/DefaultConnection.java

         * This is used by consumers 2.1-rc-1 and later
         */
        @Override
        public BuildResult<?> getModel(ModelIdentifier modelIdentifier, InternalCancellationToken cancellationToken, BuildParameters operationParameters) throws org.gradle.tooling.internal.protocol.BuildExceptionVersion1, InternalUnsupportedModelException, InternalUnsupportedBuildArgumentException, IllegalStateException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

        }
    
        public ModelBuilderResult build(final ModelBuilderRequest request, final ModelBuilderResult result)
                throws ModelBuilderException {
            return build(request, result, new LinkedHashSet<>());
        }
    
        public Model buildRawModel(ModelBuilderRequest request) throws ModelBuilderException {
            request = fillRequestDefaults(request);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Jun 07 07:31:02 UTC 2024
    - 61.9K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultDependencyResolver.java

            } catch (DependencyCollectionException e) {
                throw new DependencyResolverException("Unable to collect dependencies", e);
            }
        }
    
        @Override
        public List<Node> flatten(Session s, Node node, PathScope scope) throws DependencyResolverException {
            InternalSession session = InternalSession.from(s);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

      public void testConstructor() {
        AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int i = 0; i < SIZE; i++) {
          assertBitEquals(0.0, aa.get(i));
        }
      }
    
      /** constructor with null array throws NPE */
      public void testConstructor2NPE() {
        double[] a = null;
        assertThrows(NullPointerException.class, () -> new AtomicDoubleArray(a));
      }
    
      /** constructor with array is of same size and has all elements */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultArtifactDescriptorReader.java

                            throw new ArtifactDescriptorException(result);
                        }
                    }
                    invalidDescriptor(session, trace, a, e);
                    if ((getPolicy(session, a, request) & ArtifactDescriptorPolicy.IGNORE_INVALID) != 0) {
                        return null;
                    }
                    result.addException(e);
                    throw new ArtifactDescriptorException(result);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 10 11:04:53 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/VisitableURLClassLoader.java

            }
    
            @Override
            protected Class<?> findClass(String name) throws ClassNotFoundException {
                errorHandler.enterClassLoadingScope(name);
                Class<?> loadedClass;
                try {
                    loadedClass = super.findClass(name);
                } catch (Throwable e) {
                    throw errorHandler.exitClassLoadingScopeWithException(e);
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/DefaultScriptCompilationHandler.java

            }
    
            @Override
            protected Class<?> findClass(String name) throws ClassNotFoundException {
                errorHandler.enterClassLoadingScope(name);
                Class<?> loadedClass;
                try {
                    loadedClass = super.findClass(name);
                } catch (Throwable e) {
                    throw errorHandler.exitClassLoadingScopeWithException(e);
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java

                throw new ProjectBuilderException("Unable to build project", e);
            }
        }
    
        private static class SourceWrapper implements ModelSource2 {
            private final Source source;
    
            SourceWrapper(Source source) {
                this.source = source;
            }
    
            @Override
            public InputStream getInputStream() throws IOException {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/DelegatedGradlePropertiesExtensionsTest.kt

            }
        }
    
        @Test
        fun `non-nullable delegated property access of existing null gradle property throws`() {
    
            withMockForSettings(existing = "p" to null) {
    
                val p: Any by settings
                try {
                    p.toString()
                    fail("InvalidUserCodeException not thrown")
                } catch (ex: InvalidUserCodeException) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 15:44:53 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top