Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 2,652 for throw (0.07 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/-ResponseBodyCommon.kt

    ): T {
      val contentLength = contentLength()
      if (contentLength > Int.MAX_VALUE) {
        throw IOException("Cannot buffer entire body for content length: $contentLength")
      }
    
      val bytes = source().use(consumer)
      val size = sizeMapper(bytes)
      if (contentLength != -1L && contentLength != size.toLong()) {
        throw IOException("Content-Length ($contentLength) and stream length ($size) disagree")
      }
      return bytes
    }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java

                return target.toFile();
            } catch (IOException | NoSuchAlgorithmException | XMLStreamException | ModelBuildingException e) {
                throw new TransformationFailedException(e);
            }
        }
    
        private String mayUpdate()
                throws IOException, NoSuchAlgorithmException, XMLStreamException, ModelBuildingException {
            String result;
            Path src = sourcePathProvider.get();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java

                            writer.write(metadata);
                        }
                    });
                } catch (final SsoMessageException e) {
                    throw e;
                } catch (final Exception e) {
                    throw new SsoMessageException(
                            messages -> messages.addErrorsFailedToProcessSsoRequest(UserMessages.GLOBAL_PROPERTY_KEY, e.getMessage()),
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

     *
     * @throws IOException if a network error occurs
     */
    
        public void close() throws IOException {
            try {
                file.close();
                tmp = null;
            } catch (SmbException se) {
                throw seToIoe(se);
            }
        }
    
    /**
     * Reads a byte of data from this input stream.
     *
     * @throws IOException if a network error occurs
     */
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/jar/JarInputStreamUtil.java

            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * {@link JarInputStream#getNextJarEntry()}の例外処理をラップするメソッドです。
         *
         * @param is
         *            入力ストリーム。{@literal null}であってはいけません
         * @return {@link JarEntry}
         * @throws IORuntimeException
         *             {@link IOException}が発生した場合
         * @see JarInputStream#getNextJarEntry()
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/CountingInputStream.java

        }
        if (mark == -1) {
          throw new IOException("Mark not set");
        }
    
        in.reset();
        count = mark;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SID.java

         * 
         * @param textual
         * @throws SmbException
         */
        public SID ( String textual ) throws SmbException {
            StringTokenizer st = new StringTokenizer(textual, "-");
            if ( st.countTokens() < 3 || !st.nextToken().equals("S") )
                // need S-N-M
                throw new SmbException("Bad textual SID format: " + textual);
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/AbstractLoadingCache.java

      @Override
      public V getUnchecked(K key) {
        try {
          return get(key);
        } catch (ExecutionException e) {
          throw new UncheckedExecutionException(e.getCause());
        }
      }
    
      @Override
      public ImmutableMap<K, V> getAll(Iterable<? extends K> keys) throws ExecutionException {
        Map<K, V> result = Maps.newLinkedHashMap();
        for (K key : keys) {
          if (!result.containsKey(key)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Aug 06 17:12:03 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/graph/EndpointPair.java

        private Unordered(N nodeU, N nodeV) {
          super(nodeU, nodeV);
        }
    
        @Override
        public N source() {
          throw new UnsupportedOperationException(NOT_AVAILABLE_ON_UNDIRECTED);
        }
    
        @Override
        public N target() {
          throw new UnsupportedOperationException(NOT_AVAILABLE_ON_UNDIRECTED);
        }
    
        @Override
        public boolean isOrdered() {
          return false;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 8.1K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ExtractDslMetaDataTask.groovy

            if (!sourceFile.name.endsWith('.java')) {
                throw new DocGenerationException("Parsing non-Java files is not supported: $sourceFile")
            }
            try {
                new JavaParser().parse(sourceFile).getResult().get().accept(new SourceMetaDataVisitor(), repository)
            } catch (Exception e) {
                throw new DocGenerationException("Could not parse '$sourceFile'.", e)
            }
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Jan 08 12:45:57 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top