Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 557 for yyerror (0.19 sec)

  1. src/test/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandleTest.java

                rpc.retval = errorCode; // Simulate RPC error
                return null;
            }).when(mockDcerpcHandle).sendrecv(any(MsrpcLsarOpenPolicy2.class));
    
            // Act & Assert
            SmbException thrown = assertThrows(SmbException.class, () -> {
                new LsaPolicyHandle(mockDcerpcHandle, server, access);
            });
    
            // In smb1, non-NTSTATUS error codes get mapped to NT_STATUS_UNSUCCESSFUL (0xC0000001)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

         * @return the current file pointer position
         * @throws SmbException if an I/O error occurs
         */
        public long getFilePointer() throws SmbException {
            return fp;
        }
    
        /**
         * Sets the file pointer to the specified position.
         *
         * @param pos the new file pointer position
         * @throws SmbException if an I/O error occurs
         */
        public void seek(final long pos) throws SmbException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbException.java

        private String recoveryHint;
    
        /**
         * Creates an SMB exception with detailed context
         *
         * @param message the error message
         * @param errorCode the SMB error code
         * @param severity the error severity
         * @param category the error category
         */
        public SmbException(String message, int errorCode, Severity severity, Category category) {
            super(message);
            this.errorCode = errorCode;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/DosErrorTest.java

        }
    
        @Test
        @DisplayName("Each error code mapping contains exactly two ints")
        void testEachPairLength() {
            for (int i = 0; i < DosError.DOS_ERROR_CODES.length; i++) {
                int[] pair = DosError.DOS_ERROR_CODES[i];
                assertEquals(2, pair.length, String.format("Error mapping at index %d should contain two integers", i));
            }
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/log/Logger.java

        }
    
        /**
         * Outputs ERROR information.
         *
         * @param message
         *            Message
         * @param throwable
         *            Exception
         */
        public void error(final Object message, final Throwable throwable) {
            log.error(message.toString(), throwable);
        }
    
        /**
         * Outputs ERROR information.
         *
         * @param message
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  6. docs/smb3-features/05-rdma-smb-direct-design.md

        // Getters for all statistics...
    }
    ```
    
    ## 9. Error Handling and Fallback
    
    ### 9.1 RDMA Error Recovery
    ```java
    public class RdmaErrorHandler {
        public void handleRdmaError(RdmaConnection connection, Exception error) {
            log.warn("RDMA error occurred: {}", error.getMessage());
            
            if (isRecoverableError(error)) {
                // Attempt to recover connection
                try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/DosError.java

        /**
         * Human-readable error messages corresponding to DOS error codes.
         * Provides descriptive text for each error condition.
         */
        /*
         * These aren't really used by jCIFS--
         * the map above is used to immediately
         * map to NTSTATUS codes.
         */
        /**
         * Human-readable error messages corresponding to DOS error codes.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/witness/WitnessRegisterResponse.java

        }
    
        /**
         * Sets the error message.
         *
         * @param error the error message
         */
        public void setError(String error) {
            this.error = error;
        }
    
        /**
         * Gets the registration ID.
         *
         * @return the registration ID
         */
        public String getRegistrationId() {
            return registrationId;
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/DcerpcException.java

        }
    
        /** The DCERPC error code */
        private int error;
        /** The root cause exception */
        private Throwable rootCause;
    
        DcerpcException(final int error) {
            super(getMessageByDcerpcError(error));
            this.error = error;
        }
    
        /**
         * Constructs a DcerpcException with the specified message
         *
         * @param msg the error message
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbTransportInternalTest.java

            verify(transport).isSigningEnforced();
        }
    
        // Error propagation: signing checks may throw SmbException
        @Test
        @DisplayName("signing checks propagate SmbException")
        void signingChecks_throw() throws Exception {
            doThrow(new SmbException("opt error")).when(transport).isSigningOptional();
            doThrow(new SmbException("enf error")).when(transport).isSigningEnforced();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
Back to top