Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isAuthenticationError (1.41 sec)

  1. 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());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  2. 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
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.5K bytes
    - Viewed (0)
Back to top