Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 2,742 for throws (0.1 sec)

  1. src/main/java/jcifs/ntlmssp/Type1Message.java

    
        private void parse ( byte[] material ) throws IOException {
            int pos = 0;
            for ( int i = 0; i < 8; i++ ) {
                if ( material[ i ] != NTLMSSP_SIGNATURE[ i ] ) {
                    throw new IOException("Not an NTLMSSP message.");
                }
            }
            pos += 8;
    
            if ( readULong(material, pos) != NTLMSSP_TYPE1 ) {
                throw new IOException("Not a Type 1 message.");
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Sep 02 12:55:08 UTC 2018
    - 7.8K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/metadata/ArtifactMetadataSource.java

     */
    @Deprecated
    public interface ArtifactMetadataSource {
    
        ResolutionGroup retrieve(MetadataResolutionRequest request) throws ArtifactMetadataRetrievalException;
    
        ResolutionGroup retrieve(
                Artifact artifact, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories)
                throws ArtifactMetadataRetrievalException;
    
        /**
         * Get a list of available versions for an artifact in the remote repository
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/ByteSink.java

       * independent stream each time it is called.
       *
       * <p>The caller is responsible for ensuring that the returned stream is closed.
       *
       * @throws IOException if an I/O error occurs while opening the stream
       */
      public abstract OutputStream openStream() throws IOException;
    
      /**
       * Opens a new buffered {@link OutputStream} for writing to this sink. The returned stream is not
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 28 16:55:09 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtlmUtil.java

         * @param passwordHash
         * @param serverChallenge
         * @param clientChallenge
         * @return the calculated response
         * @throws GeneralSecurityException
         */
        public static byte[] getNTLM2Response ( byte[] passwordHash, byte[] serverChallenge, byte[] clientChallenge ) throws GeneralSecurityException {
            byte[] sessionHash = new byte[8];
    
            MessageDigest md5 = Crypto.getMD5();;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 9.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/SourceSinkFactories.java

        public void tearDown() throws IOException {}
      }
    
      private static class EmptyCharSourceFactory implements CharSourceFactory {
    
        @Override
        public CharSource createSource(String data) throws IOException {
          return CharSource.empty();
        }
    
        @Override
        public String getExpected(String data) {
          return "";
        }
    
        @Override
        public void tearDown() throws IOException {}
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/LineBuffer.java

       *
       * @param cbuf the character buffer to process
       * @param off the offset into the buffer
       * @param len the number of characters to process
       * @throws IOException if an I/O error occurs
       * @see #finish
       */
      protected void add(char[] cbuf, int off, int len) throws IOException {
        int pos = off;
        if (sawReturn && len > 0) {
          // Last call to add ended with a CR; we can handle the line now.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/LineBuffer.java

       *
       * @param cbuf the character buffer to process
       * @param off the offset into the buffer
       * @param len the number of characters to process
       * @throws IOException if an I/O error occurs
       * @see #finish
       */
      protected void add(char[] cbuf, int off, int len) throws IOException {
        int pos = off;
        if (sawReturn && len > 0) {
          // Last call to add ended with a CR; we can handle the line now.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

            }
    
            try {
                // last chance - classic model
                return Class.forName(name);
            } catch (final Exception e) {
                throw new TypeNotPresentException(name, e);
            } catch (final LinkageError e) {
                throw new TypeNotPresentException(name, e);
            }
        }
    
        /**
         * Creates an instance of the given implementation using the default constructor.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/UnsignedLongs.java

       *
       * <p><b>Java 8+ users:</b> use {@link Long#parseUnsignedLong(String)} instead.
       *
       * @throws NumberFormatException if the string does not contain a valid unsigned {@code long}
       *     value
       * @throws NullPointerException if {@code string} is null (in contrast to {@link
       *     Long#parseLong(String)})
       */
      @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 12 21:04:48 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java

            this.repoSystem = repoSystem;
        }
    
        public List<CoreExtensionEntry> loadCoreExtensions(
                MavenExecutionRequest request, Set<String> providedArtifacts, List<CoreExtension> extensions)
                throws Exception {
            try (CloseableSession repoSession = repositorySystemSessionFactory
                    .newRepositorySessionBuilder(request)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.2K bytes
    - Viewed (0)
Back to top