Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1011 - 1020 of 3,054 for throws (0.03 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/project/ClasspathArtifactResolver.java

                    } catch (FileNotFoundException | URISyntaxException e) {
                        throw new IllegalStateException("Missing test POM for " + artifact, e);
                    }
                } else {
                    result.addException(new ArtifactNotFoundException(artifact, (RemoteRepository) null));
                    throw new ArtifactResolutionException(results);
                }
            }
    
            return results;
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java

            byte[] buffer = new byte[0];
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> cmd.readBytesWireFormat(buffer, 0));
        }
    
        /**
         * Test round‑trip encoding/decoding of ranges using the public
         * {@link LockingAndXRange} encode/decode methods.
         */
        @Test
        void lockRangeEncodeDecodeRoundTrip() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponse.java

        }
    
        /**
         * {@inheritDoc}
         *
         * @throws SMBProtocolDecodingException
         *             If there is an error decoding the response
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int)
         */
        @Override
        protected int readBytesWireFormat(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MoreCollectors.java

              Collector.Characteristics.UNORDERED);
    
      /**
       * A collector that converts a stream of zero or one elements to an {@code Optional}.
       *
       * @throws IllegalArgumentException if the stream consists of two or more elements.
       * @throws NullPointerException if any element in the stream is {@code null}.
       * @return {@code Optional.of(onlyElement)} if the stream has exactly one element (must not be
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:07:06 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/spnego/NegTokenTarg.java

        }
    
        /**
         * Constructs a NegTokenTarg by parsing the provided token bytes
         * @param token the SPNEGO token bytes to parse
         * @throws IOException if parsing fails
         */
        public NegTokenTarg(final byte[] token) throws IOException {
            parse(token);
        }
    
        /**
         * Gets the negotiation result code
         * @return the result code
         */
        public int getResult() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java

                    throws SmbException {
                // Not used within these tests
                throw new SmbException("not used in tests");
            }
    
            @Override
            public Subject getSubject() {
                return null; // not relevant for renew() behavior
            }
    
            @Override
            public void refresh() throws CIFSException {
                // no-op for tests
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

                if (throwExceptionOnReadParameters) {
                    throw new SMBProtocolDecodingException("Test exception in readParametersWireFormat");
                }
                return parametersWireFormatReturn;
            }
    
            @Override
            protected int readDataWireFormat(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  8. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt

        require(flags shr 15 != 0) { "not a response" }
    
        val responseCode = flags and 0xf
    
        if (responseCode == NXDOMAIN) {
          throw UnknownHostException("$hostname: NXDOMAIN")
        } else if (responseCode == SERVFAIL) {
          throw UnknownHostException("$hostname: SERVFAIL")
        }
    
        val questionCount = buf.readShort().toInt() and 0xffff
        val answerCount = buf.readShort().toInt() and 0xffff
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java

        private String deploymentTimestamp;
    
        @Override
        public void transformForResolve(Artifact artifact, RepositoryRequest request) throws ArtifactResolutionException {
            // Only select snapshots that are unresolved (eg 1.0-SNAPSHOT, not 1.0-20050607.123456)
            if (artifact.isSnapshot() && artifact.getBaseVersion().equals(artifact.getVersion())) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorTest.java

    import org.dbflute.optional.OptionalThing;
    
    public class RankFusionProcessorTest extends UnitFessTestCase {
    
        private static final String ID_FIELD = "_id";
    
        public void test_default_1000docs_10size() throws Exception {
            String query = "*";
            int allRecordCount = 1000;
            int pageSize = 10;
            try (RankFusionProcessor rankFusionProcessor = new RankFusionProcessor()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 25.6K bytes
    - Viewed (0)
Back to top