Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1491 - 1500 of 3,054 for throws (0.04 sec)

  1. android/guava/src/com/google/common/graph/ImmutableValueGraph.java

         * silently {@link #addNode(Object) add} each missing endpoint to the graph.
         *
         * @return this {@code Builder} object
         * @throws IllegalArgumentException if the introduction of the edge would violate {@link
         *     #allowsSelfLoops()}
         * @throws IllegalArgumentException if the endpoints are unordered and the graph is directed
         */
        @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

                assertEquals(unixTime * 1000L, readTime);
            } finally {
                TimeZone.setDefault(original);
            }
        }
    
        @Test
        void testStringReadWriteASCII() throws UnsupportedEncodingException {
            smb.useUnicode = false;
            String testString = "Hello World";
            byte[] buffer = new byte[testString.length() + 1];
            int len = smb.writeString(testString, buffer, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/witness/WitnessEventType.java

         * @return the corresponding WitnessEventType
         * @throws IllegalArgumentException if value is not recognized
         */
        public static WitnessEventType fromValue(int value) {
            for (WitnessEventType type : values()) {
                if (type.value == value) {
                    return type;
                }
            }
            throw new IllegalArgumentException("Unknown witness event type: " + value);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpHeaders.kt

          try {
            header.readChallengeHeader(result)
          } catch (e: EOFException) {
            Platform.get().log("Unable to parse challenge", Platform.WARN, e)
          }
        }
      }
      return result
    }
    
    @Throws(EOFException::class)
    private fun Buffer.readChallengeHeader(result: MutableList<Challenge>) {
      var peek: String? = null
    
      while (true) {
        // Read a scheme name for this challenge if we don't have one already.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/SocketOutputStream.java

            super(out);
        }
    
        @Override
        public synchronized void write(final byte[] b, int off, final int len) throws IOException {
            if (len > 0xFFFF) {
                throw new IOException("write too large: " + len);
            }
            if (off < 4) {
                throw new IOException("NetBIOS socket output buffer requires 4 bytes available before off");
            }
    
            off -= 4;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/graph/NetworkBuilder.java

        return this;
      }
    
      /**
       * Specifies the expected number of nodes in the network.
       *
       * @throws IllegalArgumentException if {@code expectedNodeCount} is negative
       */
      @CanIgnoreReturnValue
      public NetworkBuilder<N, E> expectedNodeCount(int expectedNodeCount) {
        this.expectedNodeCount = Optional.of(checkNonNegative(expectedNodeCount));
        return this;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/GraphBuilder.java

        return this;
      }
    
      /**
       * Specifies the expected number of nodes in the graph.
       *
       * @throws IllegalArgumentException if {@code expectedNodeCount} is negative
       */
      @CanIgnoreReturnValue
      public GraphBuilder<N> expectedNodeCount(int expectedNodeCount) {
        this.expectedNodeCount = Optional.of(checkNonNegative(expectedNodeCount));
        return this;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/CloseableIteratorTest.java

    class CloseableIteratorTest extends BaseTest {
    
        @Mock
        private CloseableIterator<SmbResource> mockIterator;
    
        @Test
        @DisplayName("Should define close method")
        void testCloseMethod() throws CIFSException {
            // When
            mockIterator.close();
    
            // Then
            verify(mockIterator).close();
        }
    
        @Test
        @DisplayName("Should extend Iterator and AutoCloseable")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 964 bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/exception/ServletRuntimeException.java

    /**
     * Runtime exception wrapper for ServletException.
     *
     * This exception is used to wrap checked ServletExceptions and convert them
     * into unchecked RuntimeExceptions, allowing them to be thrown from methods
     * that don't declare ServletException in their throws clause.
     */
    public class ServletRuntimeException extends RuntimeException {
    
        /** Serial version UID for serialization compatibility. */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt

        server = MockWebServer()
        server.serverSocketFactory =
          object : DelegatingServerSocketFactory(ServerSocketFactory.getDefault()) {
            @Throws(IOException::class)
            override fun configureServerSocket(serverSocket: ServerSocket): ServerSocket {
              serverSocket.receiveBufferSize = SOCKET_BUFFER_SIZE
              return serverSocket
            }
          }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 9.8K bytes
    - Viewed (0)
Back to top