Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for isTransientError (0.55 seconds)

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

            return errorCode.getCategory() == ErrorCategory.FILE_SYSTEM;
        }
    
        /**
         * Check if this is a transient error
         *
         * @return true if transient error
         */
        public boolean isTransientError() {
            return errorCode.getCategory() == ErrorCategory.TRANSIENT;
        }
    
        @Override
        public String toString() {
            StringBuilder sb = new StringBuilder();
    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

            // Transient error
            exception = new SmbOperationException(SmbOperationException.ErrorCode.SERVICE_UNAVAILABLE, "Server busy");
            assertFalse(exception.isNetworkError());
            assertFalse(exception.isAuthenticationError());
            assertFalse(exception.isFileSystemError());
            assertTrue(exception.isTransientError());
        }
    
        @Test
    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