Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getStatusByCode (0.12 sec)

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

                    } else {
                        return DOS_ERROR_MESSAGES[mid];
                    }
                }
            }
    
            return "0x" + Hexdump.toHexString( errcode, 8 );
        }
        static int getStatusByCode( int errcode ) {
            if(( errcode & 0xC0000000 ) != 0 ) {
                return errcode;
            } else {
                int min = 0;
                int max = DOS_ERROR_CODES.length - 1;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbException.java

            if (message == null) {
                message =  "0x" + Hexdump.toHexString(errcode, 8);
            }
            return message;
        }
    
    
        static int getStatusByCode ( int errcode ) {
            int statusCode;
            if ( ( errcode & 0xC0000000 ) != 0 ) {
                statusCode = errcode;
            } else if (dosErrorCodeStatuses.containsKey(errcode)) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 07:16:55 UTC 2018
    - 5.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            } else {
                in.skip( size - 32 );
            }
        }
        void checkStatus( ServerMessageBlock req, ServerMessageBlock resp ) throws SmbException {
            resp.errorCode = SmbException.getStatusByCode( resp.errorCode );
            switch( resp.errorCode ) {
                case NtStatus.NT_STATUS_OK:
                    break;
                case NtStatus.NT_STATUS_ACCESS_DENIED:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTransportImpl.java

                // if using DOS error codes this indicates a DFS referral
                resp.setErrorCode(NtStatus.NT_STATUS_PATH_NOT_COVERED);
            }
            else {
                resp.setErrorCode(SmbException.getStatusByCode(resp.getErrorCode()));
            }
            switch ( resp.getErrorCode() ) {
            case NtStatus.NT_STATUS_OK:
                cont = true;
                break;
            case NtStatus.NT_STATUS_ACCESS_DENIED:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
Back to top