Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isRetryable (0.22 sec)

  1. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

            assertTrue(SmbOperationException.ErrorCode.RESOURCE_LOCKED.isRetryable());
            assertTrue(SmbOperationException.ErrorCode.BUSY.isRetryable());
            assertTrue(SmbOperationException.ErrorCode.TRY_AGAIN.isRetryable());
            assertTrue(SmbOperationException.ErrorCode.SERVICE_UNAVAILABLE.isRetryable());
    
            // Non-retryable errors
            assertFalse(SmbOperationException.ErrorCode.HOST_NOT_FOUND.isRetryable());
    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 exception is retryable
         *
         * @return true if the operation can be retried
         */
        public boolean isRetryable() {
            return errorCode.isRetryable() && retryPolicy != RetryPolicy.NO_RETRY;
        }
    
        /**
         * Check if retry should be attempted
         *
         * @param attemptNumber the current attempt number
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbExceptionTest.java

        void testRetriableExceptions() {
            // Test non-retriable errors
            SmbException accessDenied = new SmbException(NtStatus.NT_STATUS_ACCESS_DENIED, false);
            // Note: isRetriable() method does not exist in SmbException
            assertNotNull(accessDenied);
    
            SmbException notFound = new SmbException(NtStatus.NT_STATUS_OBJECT_NAME_NOT_FOUND, false);
            assertNotNull(notFound);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top