Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 3,054 for throws (0.03 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

            return true;
          }
    
          @Override
          public String get() throws InterruptedException, ExecutionException {
            throw new AssertionFailedError("get() shouldn't be called on this object");
          }
    
          @Override
          public String get(long timeout, TimeUnit unit)
              throws InterruptedException, ExecutionException, TimeoutException {
            return get();
          }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java

            this.resolutionErrorHandler = resolutionErrorHandler;
        }
    
        @Override
        public Set<Artifact> resolve(MavenProject project, Collection<String> scopesToResolve, MavenSession session)
                throws ArtifactResolutionException, ArtifactNotFoundException {
            return resolve(Collections.singleton(project), scopesToResolve, session);
        }
    
        @Override
        public Set<Artifact> resolve(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 8.4K bytes
    - Viewed (1)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStream.java

         *
         * @throws IOException if an I/O error occurs (not thrown in this implementation)
         */
        @Override
        public void close() throws IOException {
            // inputStream.close();
        }
    
        /**
         * Returns the number of bytes that can be read from this input stream without blocking.
         *
         * @return the number of bytes available
         * @throws IOException if an I/O error occurs
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

         * available.
         *
         * @throws InterruptedException if the current thread was interrupted before or during the call
         *     (optional but recommended).
         * @throws CancellationException {@inheritDoc}
         */
        @CanIgnoreReturnValue
        @Override
        public V get(long timeout, TimeUnit unit)
            throws InterruptedException, TimeoutException, ExecutionException {
          return sync.get(unit.toNanos(timeout));
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/ServerResponseValidator.java

         * @param maxSize maximum allowed size
         * @throws SmbException if validation fails
         */
        public void validateBuffer(byte[] buffer, int expectedSize, int maxSize) throws SmbException {
            totalValidations.incrementAndGet();
    
            if (buffer == null) {
                failedValidations.incrementAndGet();
                throw new SmbException("Response buffer is null");
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

        @BeforeEach
        void setUp() throws Exception {
            source = new Source();
    
            projectArtifact = createArtifactSpec("project", "1.0", null);
        }
    
        @Test
        @Disabled("works, but we don't fail on cycles presently")
        void testCircularDependencyNotIncludingCurrentProject()
                throws ArtifactResolutionException, InvalidVersionSpecificationException {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 42.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java

        private int getStatus(NetShareEnumResponse response) throws Exception {
            Field field = getSuperclassField(response.getClass(), "status");
            field.setAccessible(true);
            return field.getInt(response);
        }
    
        private void setStatus(NetShareEnumResponse response, int value) throws Exception {
            Method method = getSuperclassMethod(response.getClass(), "setStatus", int.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/msrpc/SamrAliasHandle.java

         * @param access the desired access rights
         * @param rid the relative identifier of the alias
         * @throws IOException if an I/O error occurs during handle creation
         */
        public SamrAliasHandle(final DcerpcHandle handle, final SamrDomainHandle domainHandle, final int access, final int rid)
                throws IOException {
            this.handle = handle;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/sql/ResultSetUtil.java

                throw new SQLRuntimeException(ex);
            }
        }
    
        /**
         * Moves the cursor to the specified position.
         *
         * @param resultSet
         *            The result set. Must not be {@literal null}.
         * @param index
         *            The position.
         * @return Whether the cursor successfully moved to the specified position.
         * @throws SQLRuntimeException
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/Files.java

       *
       * @param file the file to read from
       * @return a byte array containing all the bytes from file
       * @throws IllegalArgumentException if the file is bigger than the largest possible byte array
       *     (2^31 - 1)
       * @throws IOException if an I/O error occurs
       */
      public static byte[] toByteArray(File file) throws IOException {
        return asByteSource(file).read();
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
Back to top