Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 444 for causes (3.22 sec)

  1. src/test/java/jcifs/smb/ShareEnumIteratorTest.java

            @Test
            @DisplayName("Null delegate causes NullPointerException during construction")
            void nullDelegate_throwsNPE() throws Exception {
                SmbFile parent = newParent();
                assertThrows(NullPointerException.class, () -> new ShareEnumIterator(parent, null, null));
            }
    
            @Test
            @DisplayName("Null parent with non-empty iterator causes NullPointerException during adapt")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java

        void testToStringWithRootCause() {
            RuntimeException cause = new RuntimeException("boom");
            SmbException ex = new SmbException(0, cause);
            assertTrue(ex.toString().contains("RuntimeException"), "String representation must include the root cause stack trace");
        }
    
        /**
         * Verify that {@link #toString()} with no root cause equals the default
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/CrawlingAccessException.java

        /**
         * Constructs a new CrawlingAccessException with the specified detail message and cause.
         *
         * @param message the detail message
         * @param cause the cause
         */
        public CrawlingAccessException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Constructs a new CrawlingAccessException with the specified detail message.
         *
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/NbtExceptionTest.java

         * Covers all defined error classes and codes, including default cases.
         */
        private static Stream<Arguments> provideErrorClassAndCodeForGetErrorString() {
            return Stream.of(
                    // SUCCESS
                    Arguments.of(NbtException.SUCCESS, 0, "SUCCESS"),
    
                    // ERR_NAM_SRVC
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java

            assertEquals(0, exception.getErrorCode(), "Error code should be 0 for message and cause constructor.");
            assertEquals(message, exception.getMessage(), "Message should match the input.");
            assertEquals(cause, exception.getCause(), "Cause should match the input.");
            assertEquals(cause, exception.getRootCause(), "getRootCause() should return the same cause as getCause().");
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. src/main/assemblies/files/fess.in.sh

    FESS_JAVA_OPTS="$FESS_JAVA_OPTS -Dlog4j2.disable.jmx=true"
    FESS_JAVA_OPTS="$FESS_JAVA_OPTS -Dlog4j2.formatMsgNoLookups=true"
    FESS_JAVA_OPTS="$FESS_JAVA_OPTS -Dlog4j.skipJansi=true"
    
    # Causes the JVM to dump its heap on OutOfMemory.
    #FESS_JAVA_OPTS="$FESS_JAVA_OPTS -XX:+HeapDumpOnOutOfMemoryError"
    # The path to the heap dump location, note directory must exists and have enough
    # space for a full heap dump.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 03:48:59 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

            @Test
            @DisplayName("Should handle empty buffer in readDataWireFormat")
            void testReadDataWireFormatEmptyBuffer() {
                byte[] buffer = new byte[0];
    
                // Empty buffer causes ArrayIndexOutOfBoundsException when trying to read
                assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                    response.readDataWireFormat(buffer, 0, 0);
                });
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java

                // Act & Assert
                assertThrows(NullPointerException.class, () -> resp.readBytesWireFormat(null, 0));
            }
    
            @Test
            @DisplayName("Insufficient buffer causes ArrayIndexOutOfBoundsException")
            void shortBuffer_throwsAIOOBE() {
                // Arrange: length 1 means readInt2 will access index 1 and fail
                byte[] buffer = new byte[1];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/EncodableTest.java

                    "System.arraycopy should throw for insufficient destination space");
        }
    
        @Test
        @DisplayName("encode() throws when dstIndex causes overflow")
        void encodeThrowsWhenDstIndexCausesOverflow() {
            byte[] src = makeSeq(5);
            Encodable enc = new ByteEncodable(src, 0, 5);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

            assertTrue(ex.getMessage().contains("Invalid kerberos request"));
        }
    
        @Test
        @DisplayName("seq ctor: unknown field tag causes failure")
        void sequenceConstructor_unknownField_throws() {
            // Arrange: only an unexpected tag is present
            ASN1EncodableVector v = new ASN1EncodableVector();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top