Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 4,853 for Throw (0.07 sec)

  1. guava/src/com/google/common/collect/ImmutableRangeMap.java

        throw new UnsupportedOperationException();
      }
    
      /**
       * Guaranteed to throw an exception and leave the {@code RangeMap} unmodified.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final void remove(Range<K> range) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 04 14:31:50 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/artifact/ArtifactSetToFileCollectionFactory.java

                throw new UnsupportedOperationException();
            }
    
            @Override
            public void visitExternalArtifacts(Action<ResolvableArtifact> visitor) {
                throw new UnsupportedOperationException();
            }
    
            @Override
            public void visitDependencies(TaskDependencyResolveContext context) {
                throw new UnsupportedOperationException();
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:33:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/ClasspathUtil.java

                        return getClasspathForResource(resource, resourceName);
                    }
                }
                throw new GradleException(String.format("Cannot determine classpath for class %s.", targetClass.getName()));
            } catch (URISyntaxException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/main/java/org/gradle/external/javadoc/internal/JavadocExecHandleBuilder.java

            if (directory == null) {
                throw new IllegalArgumentException("execDirectory == null!");
            }
            if (!directory.exists()) {
                throw new IllegalArgumentException("execDirectory doesn't exists!");
            }
            if (directory.isFile()) {
                throw new IllegalArgumentException("execDirectory is a file");
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  5. platforms/core-execution/build-cache-packaging/src/main/java/org/gradle/caching/internal/packaging/impl/TarBuildCacheEntryPacker.java

                    if (!matcher.matches()) {
                        throw new IllegalStateException("Cached entry format error, invalid contents: " + path);
                    }
    
                    String treeName = unescape(matcher.group(2));
                    CacheableTree tree = treesByName.get(treeName);
                    if (tree == null) {
                        throw new IllegalStateException(String.format("No tree '%s' registered", treeName));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 07:31:19 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  6. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/inet/SocketConnection.java

            } catch (ObjectStreamException e) {
                throw new RecoverableMessageIOException(String.format("Could not read message from '%s'.", remoteAddress), e);
            } catch (ClassNotFoundException e) {
                throw new RecoverableMessageIOException(String.format("Could not read message from '%s'.", remoteAddress), e);
            } catch (IOException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/ClassLoaderObjectInputStream.java

                        throw new UnsupportedClassVersionErrorWithJavaVersion(e, JavaVersion.forClassVersion(majorVersion));
                    }
                    // We could not find the class. Throw the original error.
                    throw e;
                } catch (IOException ignored) {
                    // There was an error parsing the class. Throw the original error.
                    throw e;
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/FlushablesTest.java

        // 'swallowException' when the mock does not throw an exception.
        setupFlushable(false);
        doFlush(mockFlushable, false, false);
    
        setupFlushable(false);
        doFlush(mockFlushable, true, false);
      }
    
      public void testFlush_flushableWithEatenException() throws IOException {
        // make sure that no exception is thrown if 'swallowException' is true
        // when the mock does throw an exception on flush.
        setupFlushable(true);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.3K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/compilerapi/deps/DependentsSet.java

                this(null);
            }
    
            @Override
            public boolean isEmpty() {
                throw new UnsupportedOperationException("This dependents set does not have dependent classes information.");
            }
    
            @Override
            public boolean hasDependentClasses() {
                throw new UnsupportedOperationException("This dependents set does not have dependent classes information.");
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http/StatusLine.kt

          } else {
            throw ProtocolException("Unexpected status line: $statusLine")
          }
    
          // Parse response code like "200". Always 3 digits.
          if (statusLine.length < codeStart + 3) {
            throw ProtocolException("Unexpected status line: $statusLine")
          }
          val code =
            statusLine.substring(codeStart, codeStart + 3).toIntOrNull()
              ?: throw ProtocolException(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top