Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 2,582 for throwIt (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/util/ResourceManagerTest.java

        void testMultipleCloseOnManagedResource() throws Exception {
            TestResource resource = new TestResource("multiclose");
            ResourceManager.ManagedResource<TestResource> managed = resourceManager.manage(resource);
    
            managed.close();
            assertTrue(resource.isClosed());
    
            // Second close should not throw
            assertDoesNotThrow(managed::close);
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/ImmutableMultimap.java

       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final boolean putAll(Multimap<? extends K, ? extends V> multimap) {
        throw new UnsupportedOperationException();
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 27.1K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/io/LittleEndianDataInputStream.java

      public void readFully(byte[] b, int off, int len) throws IOException {
        ByteStreams.readFully(this, b, off, len);
      }
    
      @Override
      public int skipBytes(int n) throws IOException {
        return (int) in.skip(n);
      }
    
      @CanIgnoreReturnValue // to skip a byte
      @Override
      public int readUnsignedByte() throws IOException {
        int b1 = in.read();
        if (b1 < 0) {
          throw new EOFException();
        }
    
        return b1;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 12 03:49:18 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java

                    }
                } else {
                    throw new IllegalStateException("unexpected task " + task);
                }
            }
            return mojoExecutions;
        }
    
        private Map<String, List<MojoExecution>> calculateLifecycleMappings(
                MavenSession session, MavenProject project, String lifecyclePhase)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java

         * @param auth the NTLM authentication credentials
         * @throws UnknownHostException if the host cannot be resolved
         * @throws MalformedURLException if the URL is malformed
         * @throws DcerpcException if DCERPC initialization fails
         */
        public DcerpcPipeHandle(String url, final NtlmPasswordAuthentication auth)
                throws UnknownHostException, MalformedURLException, DcerpcException {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  6. src/main/java/jcifs/dcerpc/msrpc/netdfs.java

            public void encode(NdrBuffer _dst) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_referent(this.entry_path, 1);
    
                if (this.entry_path != null) {
                    _dst = _dst.deferred;
                    _dst.enc_ndr_string(this.entry_path);
    
                }
            }
    
            @Override
            public void decode(NdrBuffer _src) throws NdrException {
                _src.align(4);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 21.8K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/SimplexTransferListener.java

        @Override
        public void transferStarted(TransferEvent event) throws TransferCancelledException {
            if (ongoing.get(new TransferResourceIdentifier(event.getResource())) == Boolean.FALSE) {
                throw new TransferCancelledException();
            }
            put(event, false);
        }
    
        @Override
        public void transferProgressed(TransferEvent event) throws TransferCancelledException {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Feb 06 11:28:05 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java

             * @throws IllegalArgumentException If the arguments are invalid
             * @throws InsufficientDataException If insufficient data is available
             * @throws InternalException If an internal error occurs
             * @throws InvalidResponseException If the response is invalid
             * @throws NoSuchAlgorithmException If the algorithm is not available
             * @throws XmlParserException If XML parsing fails
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 20 08:52:56 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/s3/Handler.java

         * Opens a connection to the S3 URL.
         *
         * @param u The URL to open a connection to
         * @return A new S3URLConnection instance
         * @throws IOException If the connection cannot be opened
         */
        @Override
        protected URLConnection openConnection(final URL u) throws IOException {
            return new S3URLConnection(u);
        }
    
        /**
         * S3URLConnection is a URL connection implementation for accessing S3 objects.
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Dec 11 07:57:44 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  10. src/main/java/jcifs/ntlmssp/Type1Message.java

        }
    
        private void parse(final 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.");
            }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 7.8K bytes
    - Click Count (0)
Back to Top