Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getErrorCategory (0.06 sec)

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

            assertTrue(exception.getMessage().contains("FILE_NOT_FOUND"));
            assertTrue(exception.getMessage().contains("test.txt"));
            assertEquals(SmbOperationException.ErrorCategory.FILE_SYSTEM, exception.getErrorCategory());
            assertFalse(exception.isRetryable());
        }
    
        @Test
        @DisplayName("Should create exception with cause")
        void testCreationWithCause() {
            // Given
    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

            }
            return this;
        }
    
        // Getters
        public ErrorCode getErrorCode() {
            return errorCode;
        }
    
        public ErrorCategory getErrorCategory() {
            return errorCode.getCategory();
        }
    
        public RetryPolicy getRetryPolicy() {
            return retryPolicy;
        }
    
        public Map<String, Object> getContext() {
    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