Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 168 for EX (0.01 sec)

  1. src/main/java/jcifs/spnego/NegTokenTarg.java

                }
                der.writeObject(new DERTaggedObject(true, 1, new DERSequence(fields)));
                return collector.toByteArray();
            } catch (final IOException ex) {
                throw new IllegalStateException(ex.getMessage());
            }
        }
    
        @Override
        protected void parse(final byte[] token) throws IOException {
            try (ASN1InputStream der = new ASN1InputStream(token)) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/spnego/NegTokenInitTest.java

                    null, null);
    
            IOException ex = assertThrows(IOException.class, () -> new NegTokenInit(token));
            assertTrue(ex.getMessage().contains("OID"), "Error should mention OID");
        }
    
        @Test
        @DisplayName("Parse accepts non-zero outer tag numbers (current implementation behavior)")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  3. test_docs.sh

    # https://squidfunk.github.io/mkdocs-material/
    # It requires Python to run.
    # Install the packages with the following command:
    # pip install mkdocs mkdocs-material mkdocs-redirects
    
    set -ex
    
    # Test generating the javadoc jars
    ./gradlew publishToMavenLocal -DRELEASE_SIGNING_ENABLED=false
    
    # Generate the API docs
    ./gradlew dokkaHtmlMultiModule
    
    mv ./build/dokka/htmlMultiModule docs/4.x
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Apr 17 13:52:16 UTC 2024
    - 718 bytes
    - Viewed (1)
  4. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

        void testException() {
            // Given
            Exception ex = new RuntimeException("Runtime error");
            doNothing().when(response).exception(ex);
    
            // When
            response.exception(ex);
    
            // Then
            verify(response).exception(ex);
        }
    
        @Test
        @DisplayName("Test CommonServerMessageBlock inherited methods")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/SmbCircuitBreaker.java

                    for (CircuitBreakerListener listener : listeners) {
                        try {
                            listener.onCallRejected(this);
                        } catch (Exception ex) {
                            log.warn("Listener threw exception", ex);
                        }
                    }
    
                    throw new CircuitOpenException("Circuit breaker '" + name + "' is open");
                }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/RequestParamTest.java

        void valueOfRejectsUnknownOrCaseMismatch(String badName) {
            IllegalArgumentException ex = assertThrows(IllegalArgumentException.class, () -> RequestParam.valueOf(badName));
            assertTrue(ex.getMessage().contains(badName), "Exception message should mention the bad name");
        }
    
        // Edge/Invalid: empty string is invalid for valueOf
        @ParameterizedTest
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

            SmbFilenameFilter filter = (dir, name) -> {
                throw new SmbException("boom");
            };
    
            SmbException ex = assertThrows(SmbException.class, () -> filter.accept(mockDir, "x"));
            assertEquals("boom", ex.getMessage(), "Exception message should be preserved");
            verifyNoInteractions(mockDir);
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

                    System.arraycopy(auth.getUnicodeHash(transport.getContext(), serverEncryptionKey), 0, this.macSigningKey, 16, 24);
                    break;
                }
            } catch (final Exception ex) {
                throw new SmbException("", ex);
            }
            if (log.isTraceEnabled()) {
                log.trace("LM_COMPATIBILITY=" + transport.getContext().getConfig().getLanManCompatibility());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/NtlmUtilTest.java

        }
    
        @Test
        @DisplayName("getNTHash: null password throws NPE with message")
        void testGetNTHash_null() {
            NullPointerException ex = assertThrows(NullPointerException.class, () -> NtlmUtil.getNTHash((String) null));
            assertEquals("Password parameter is required", ex.getMessage());
        }
    
        @ParameterizedTest
        @ValueSource(strings = { "", "password", "pässwörd", "1234567890abcdef" })
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (1)
  10. src/test/java/jcifs/spnego/SpnegoTokenTest.java

        @Test
        @DisplayName("parse throws IOException on null input")
        void parseThrowsOnNull() {
            TestSpnegoToken t = new TestSpnegoToken();
            IOException ex = assertThrows(IOException.class, () -> t.parse(null), "parse should throw IOException on null");
            assertTrue(ex.getMessage().toLowerCase().contains("null"));
        }
    
        @Test
        @DisplayName("toByteArray returns empty when no mechanismToken")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
Back to top