Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for isAuthenticationError (0.07 seconds)

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

        }
    
        /**
         * Check if this is an authentication error
         *
         * @return true if authentication error
         */
        public boolean isAuthenticationError() {
            return errorCode.getCategory() == ErrorCategory.AUTHENTICATION;
        }
    
        /**
         * Check if this is a file system error
         *
         * @return true if file system error
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

            assertTrue(exception.isFileSystemError());
            assertFalse(exception.isTransientError());
    
            // Transient error
            exception = new SmbOperationException(SmbOperationException.ErrorCode.SERVICE_UNAVAILABLE, "Server busy");
            assertFalse(exception.isNetworkError());
            assertFalse(exception.isAuthenticationError());
            assertFalse(exception.isFileSystemError());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.1K bytes
    - Click Count (0)
Back to Top