Search Options

Results per page
Sort
Preferred Languages
Advance

Results 831 - 840 of 1,628 for rethrow (0.07 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/artifact/deployer/SimpleArtifactMetadataSource.java

    public class SimpleArtifactMetadataSource implements ArtifactMetadataSource {
        public ResolutionGroup retrieve(
                Artifact artifact, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories) {
            throw new UnsupportedOperationException("Cannot retrieve metadata in this test case");
        }
    
        public List<ArtifactVersion> retrieveAvailableVersions(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AlphabeticalAcceptedApiChangesTask.kt

            if (mismatches.isNotEmpty()) {
                val formattedMismatches = mismatches.mapValues { mismatch ->
                    mismatch.value.joinToString(separator = "\n", transform = { "\t" + it })
                }
                throw GradleException(buildErrorMessage(formattedMismatches))
            }
        }
    
        private
        fun findMismatches(originalChanges: List<AcceptedApiChange>, sortedChanges: List<AcceptedApiChange>): List<AcceptedApiChange> {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/XslTransformer.java

    import java.io.IOException;
    
    public class XslTransformer {
        public static void main(String[] args) throws TransformerException, IOException {
            if (args.length < 3 || args.length > 4) {
                throw new IllegalArgumentException("USAGE: <style-sheet> <source-file> <dest-file> [dest-dir]");
            }
            File stylesheet = new File(args[0]);
            File source = new File(args[1]);
            File dest = new File(args[2]);
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. src/main/webapp/js/admin/plugins/form-validator/security.js

    en",g.borderColor="darkgreen",g.color="darkgreen",h=d.strong),e.css(g).text(h)})}});var f=function(b,c,d,e,f){var g=c.valAttr("req-params")||c.data("validation-req-params")||{},h=c.valAttr("param-name")||c.attr("name"),i=function(a,b){b(a)};if(!h)throw new Error("Missing input name used for http requests made by server validator");g||(g={}),"string"==typeof g&&(g=a.parseJSON(g)),g[h]=d,a.ajax({url:b,type:"POST",cache:!1,data:g,dataType:"json",error:function(a){return i({valid:!1,message:"Connection...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 10.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/http/Handler.java

         */
        public static void setURLStreamHandlerFactory ( URLStreamHandlerFactory factory ) {
            synchronized ( PROTOCOL_HANDLERS ) {
                if ( Handler.factory != null ) {
                    throw new IllegalStateException("URLStreamHandlerFactory already set.");
                }
                PROTOCOL_HANDLERS.clear();
                Handler.factory = factory;
            }
        }
    
    
        /**
         * @param tc
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.9K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java

                    Source source = request.getSource().get();
                    ModelSource2 modelSource = new SourceWrapper(source);
                    res = builder.build(modelSource, req);
                } else {
                    throw new IllegalArgumentException("Invalid request");
                }
                return new ProjectBuilderResult() {
                    @Nonnull
                    @Override
                    public String getProjectId() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeTester.java

                getMap()
                    .compute(
                        k0(),
                        (k, v) -> {
                          assertEquals(k0(), k);
                          assertEquals(v0(), v);
                          throw new SomeUncheckedException();
                        }));
        expectUnchanged();
      }
    
      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE})
      public void testCompute_absentFunctionThrows() {
        assertThrows(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/MapComputeTester.java

                getMap()
                    .compute(
                        k0(),
                        (k, v) -> {
                          assertEquals(k0(), k);
                          assertEquals(v0(), v);
                          throw new SomeUncheckedException();
                        }));
        expectUnchanged();
      }
    
      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE})
      public void testCompute_absentFunctionThrows() {
        assertThrows(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/AbstractMultiset.java

      public int add(@ParametricNullness E element, int occurrences) {
        throw new UnsupportedOperationException();
      }
    
      @CanIgnoreReturnValue
      @Override
      public final boolean remove(@CheckForNull Object element) {
        return remove(element, 1) > 0;
      }
    
      @CanIgnoreReturnValue
      @Override
      public int remove(@CheckForNull Object element, int occurrences) {
        throw new UnsupportedOperationException();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

          if (actualException instanceof InterruptedException) {
            return Outcome.INTERRUPT;
          } else {
            throw new AssertionError("unexpected exception", targetException);
          }
        } catch (IllegalAccessException e) {
          throw new AssertionError("unexpected exception", e);
        }
      }
    
      private void enterSatisfyGuardAndLeaveInCurrentThread() {
        monitor.enter();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 27.1K bytes
    - Viewed (0)
Back to top