Search Options

Results per page
Sort
Preferred Languages
Advance

Results 991 - 1000 of 3,054 for throws (0.08 sec)

  1. guava/src/com/google/common/primitives/Shorts.java

       * Returns the {@code short} value that is equal to {@code value}, if possible.
       *
       * @param value any value in the range of the {@code short} type
       * @return the {@code short} value that equals {@code value}
       * @throws IllegalArgumentException if {@code value} is greater than {@link Short#MAX_VALUE} or
       *     less than {@link Short#MIN_VALUE}
       */
      public static short checkedCast(long value) {
        short result = (short) value;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                return trans.getServerEncryptionKey();
            } catch (final SmbException e) {
                throw e;
            } catch (final IOException e) {
                throw new SmbException("Connection failed", e);
            }
        }
    
        @Override
        public void logon(final CIFSContext tf, final Address dc) throws SmbException {
            logon(tf, dc, 0);
        }
    
        @Override
        @Deprecated
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

            // Then
            assertEquals(expectedLength, actualLength);
            verify(messageBlock).decode(buffer, bufferIndex);
        }
    
        @Test
        @DisplayName("Test decode method throws SMBProtocolDecodingException")
        void testDecodeThrowsException() throws SMBProtocolDecodingException {
            // Given
            byte[] buffer = new byte[10];
            int bufferIndex = 0;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/EndpointPair.java

       * If this {@link EndpointPair} {@link #isOrdered()}, returns the node which is the source.
       *
       * @throws UnsupportedOperationException if this {@link EndpointPair} is not ordered
       */
      public abstract N source();
    
      /**
       * If this {@link EndpointPair} {@link #isOrdered()}, returns the node which is the target.
       *
       * @throws UnsupportedOperationException if this {@link EndpointPair} is not ordered
       */
      public abstract N target();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/TestByteSource.java

      }
    
      @Override
      public InputStream openStream() throws IOException {
        inputStreamOpened = true;
        return new RandomAmountInputStream(new In(), new Random());
      }
    
      private final class In extends TestInputStream {
    
        In() throws IOException {
          super(new ByteArrayInputStream(bytes), options);
        }
    
        @Override
        public void close() throws IOException {
          inputStreamClosed = true;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/TestByteSource.java

      }
    
      @Override
      public InputStream openStream() throws IOException {
        inputStreamOpened = true;
        return new RandomAmountInputStream(new In(), new Random());
      }
    
      private final class In extends TestInputStream {
    
        In() throws IOException {
          super(new ByteArrayInputStream(bytes), options);
        }
    
        @Override
        public void close() throws IOException {
          inputStreamClosed = true;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 2K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformerTest.java

        public XpathTransformer xpathTransformer;
    
        public XpathTransformer xpathMapTransformer;
    
        public XpathTransformer xpathEntityTransformer;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            {
                xpathTransformer = new XpathTransformer();
                xpathTransformer.setName("xpathTransformer");
                Map<String, String> featureMap = newHashMap();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/MutableGraph.java

       * {@link #addNode(Object) add} each missing endpoint to the graph.
       *
       * @return {@code true} if the graph was modified as a result of this call
       * @throws IllegalArgumentException if the introduction of the edge would violate {@link
       *     #allowsSelfLoops()}
       * @throws IllegalArgumentException if the endpoints are unordered and the graph is directed
       * @since 27.1
       */
      @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Comparators.java

       * k)), as opposed to e.g. {@code Stream.sorted(comparator).limit(k)}, which currently takes O(n
       * log n) time and O(n) space.
       *
       * @throws IllegalArgumentException if {@code k < 0}
       * @since 22.0
       */
      public static <T extends @Nullable Object> Collector<T, ?, List<T>> least(
          int k, Comparator<? super T> comparator) {
        checkNonnegative(k, "k");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/ArtifactTransformation.java

         *
         * @param artifact           Artifact to be transformed.
         * @param request the repositories to check
         */
        void transformForResolve(Artifact artifact, RepositoryRequest request)
                throws ArtifactResolutionException, ArtifactNotFoundException;
    
        /**
         * Take in an artifact and return the transformed artifact for locating in the remote repository. If no
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top