Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 422 for codec (0.83 sec)

  1. src/main/java/jcifs/smb/SmbException.java

    import jcifs.util.Hexdump;
    
    /**
     * There are hundreds of error codes that may be returned by a CIFS
     * server. Rather than represent each with it's own <code>Exception</code>
     * class, this class represents all of them. For many of the popular
     * error codes, constants and text messages like "The device is not ready"
     * are provided.
     * <p>
     * The jCIFS client maps DOS error codes to NTSTATUS codes. This means that
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/DcerpcErrorTest.java

            faultCodes.add(DcerpcError.DCERPC_FAULT_PROTO_ERROR);
    
            // Verify all 9 codes are unique
            assertEquals(9, faultCodes.size(), "All fault codes should be unique");
        }
    
        @Test
        @DisplayName("Should verify fault code value ranges and patterns")
        void testFaultCodeValueRanges() {
            // Standard fault codes (0x00000000 - 0x0000FFFF range)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/NbtExceptionTest.java

                    Arguments.of(NbtException.ERR_NAM_SRVC, NbtException.SRV_ERR, "ERR_NAM_SRVC/Unknown error code: 2"),
                    Arguments.of(NbtException.ERR_NAM_SRVC, NbtException.IMP_ERR, "ERR_NAM_SRVC/Unknown error code: 4"),
                    Arguments.of(NbtException.ERR_NAM_SRVC, NbtException.RFS_ERR, "ERR_NAM_SRVC/Unknown error code: 5"),
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/DialectVersionTest.java

                    int dialect = version.getDialect();
                    assertTrue(dialect > 0, "Dialect code should be positive for " + version);
                    assertTrue(dialectCodes.add(dialect), "Dialect code should be unique for " + version);
                }
            }
    
            // Should have 5 unique dialect codes for SMB2+ versions
            assertEquals(5, dialectCodes.size());
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/DosError.java

     */
    
    package jcifs.smb;
    
    /**
     * Interface defining DOS error codes and their mappings to NT status codes.
     * Provides lookup tables for converting between DOS and NT error representations.
     */
    public interface DosError {
    
        /**
         * Mapping table from DOS error codes to NT status codes.
         * Each entry contains a pair of [DOS error code, NT status code].
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/DosError.java

    package jcifs.smb1.smb1;
    
    /**
     * Interface defining DOS error codes and their mappings to NT status codes for SMB1 protocol.
     * Provides lookup tables for converting between DOS and NT error representations.
     */
    public interface DosError {
    
        /**
         * Mapping table from DOS error codes to NT status codes.
         * Each entry contains a pair of [DOS error code, NT status code].
         */
        int[][] DOS_ERROR_CODES =
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbAuthException.java

     */
    
    package jcifs.smb1.smb1;
    
    /**
     * The <code>SmbAuthException</code> encapsulates the variety of
     * authentication related error codes returned by an SMB server.
     * <p>
     * See <a href="../../../authhandler.html">jCIFS Exceptions and NtlmAuthenticator</a> for more information about <code>SmbAuthException</code>.
     */
    
    public class SmbAuthException extends SmbException {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbAuthExceptionTest.java

                    // Unknown code → hex string (uppercase)
                    Arguments.of(0xDEADBEEF, "0xDEADBEEF"));
        }
    
        @ParameterizedTest
        @MethodSource("errorCodes")
        void constructorInitialisesMessageAndStatus(int code, String expectedMsg) {
            SmbAuthException e = new SmbAuthException(code);
            assertEquals(expectedMsg, e.getMessage(), "message for code " + Integer.toHexString(code));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbAuthException.java

     */
    
    package jcifs.smb;
    
    /**
     * The <code>SmbAuthException</code> encapsulates the variety of
     * authentication related error codes returned by an SMB server.
     * <p>
     * See <a href="../../../authhandler.html">jCIFS Exceptions and NtlmAuthenticator</a> for more information about
     * <code>SmbAuthException</code>.
     */
    
    public class SmbAuthException extends SmbException {
    
        /**
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbAuthExceptionTest.java

     */
    @ExtendWith(MockitoExtension.class)
    public class SmbAuthExceptionTest {
    
        /**
         * Provide representative error codes for the int constructor.
         * - NT status code (high bits set)
         * - Success code (0)
         * - Non-NT small code to exercise default mapping to NT_STATUS_UNSUCCESSFUL
         */
        static Stream<Arguments> intErrorCodes() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top