Search Options

Results per page
Sort
Preferred Languages
Advance

Results 851 - 860 of 3,054 for throws (0.04 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultClasspathTransformationTestType.java

        MetadataGraphVertex v2;
        MetadataGraphVertex v3;
        MetadataGraphVertex v4;
    
        // ------------------------------------------------------------------------------------------
        @BeforeEach
        void setUp() throws Exception {
            graph = new MetadataGraph(4, 3);
            /*
             *       v2
             *   v1<
             *       v3-v4
             *
             */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SecurityDescriptor.java

         * @param bufferIndex the starting offset in the buffer
         * @param len the length of data to decode
         * @throws IOException if an I/O error occurs during decoding
         */
        public SecurityDescriptor(final byte[] buffer, final int bufferIndex, final int len) throws IOException {
            this.decode(buffer, bufferIndex, len);
        }
    
        /**
         * Decodes a security descriptor from a byte buffer.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/convert/StringConversionUtilTest.java

    package org.codelibs.core.convert;
    
    import junit.framework.TestCase;
    
    /**
     * @author shinsuke
     *
     */
    public class StringConversionUtilTest extends TestCase {
        /**
         * @throws Exception
         */
        public void testFromWindowsMapping() throws Exception {
            assertNull(StringConversionUtil.fromWindowsMapping(null));
            assertEquals("", StringConversionUtil.fromWindowsMapping(""));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java

            // Verify bytes written
            assertEquals(20 + nameLength, bytesWritten);
        }
    
        @Test
        @DisplayName("Test decode with replaceIfExists true")
        void testDecodeWithReplaceIfExistsTrue() throws SMBProtocolDecodingException {
            String originalFileName = "testfile.txt";
            byte[] nameBytes = originalFileName.getBytes(StandardCharsets.UTF_16LE);
    
            byte[] buffer = new byte[100];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SigningDigest.java

         *
         * @param macSigningKey the MAC signing key for message authentication
         * @param bypass whether to bypass MAC signing
         * @throws SmbException if MD5 algorithm is not available
         */
        public SigningDigest(final byte[] macSigningKey, final boolean bypass) throws SmbException {
            try {
                digest = MessageDigest.getInstance("MD5");
            } catch (final NoSuchAlgorithmException ex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/EncodableTest.java

        }
    
        @Test
        @DisplayName("encode() throws when destination too small")
        void encodeThrowsWhenDestinationTooSmall() {
            byte[] src = makeSeq(5);
            Encodable enc = new ByteEncodable(src, 0, 5);
            byte[] dst = new byte[4]; // too small
    
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> enc.encode(dst, 0),
                    "System.arraycopy should throw for insufficient destination space");
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  7. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/ClientAndServer.java

    /**
     * Create UNIX domain sockets for MockWebServer and OkHttp and connect 'em together. Note that we
     * cannot do TLS over domain sockets.
     */
    public class ClientAndServer {
      public void run() throws Exception {
        File socketFile = new File("/tmp/ClientAndServer.sock");
        socketFile.delete(); // Clean up from previous runs.
    
        MockWebServer server = new MockWebServer();
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Dec 24 03:46:30 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

       * otherwise.
       */
      @Throws(IOException::class)
      internal fun planWithCurrentOrInitialConnectionSpec(
        connectionSpecs: List<ConnectionSpec>,
        sslSocket: SSLSocket,
      ): ConnectPlan {
        if (connectionSpecIndex != -1) return this
        return nextConnectionSpec(connectionSpecs, sslSocket)
          ?: throw UnknownServiceException(
            "Unable to find acceptable protocols." +
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/http/NtlmHttpFilter.java

         * @return True if the negotiation is complete, otherwise false
         * @throws IOException if an I/O error occurs
         * @throws ServletException if a servlet error occurs
         */
        protected NtlmPasswordAuthentication negotiate(final HttpServletRequest req, final HttpServletResponse resp,
                final boolean skipAuthentication) throws IOException, ServletException {
            Address dc;
            String msg;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/OsddHelperTest.java

                fail();
            } catch (final Exception e) {
                assertEquals("Unsupported Open Search Description Document response.", e.getMessage());
            }
        }
    
        public void test_init_osddpath() throws IOException {
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                @Override
                public String getOsddLinkEnabled() {
                    return "auto";
                }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 23.9K bytes
    - Viewed (0)
Back to top