Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for SmbUnsupportedOperationException (0.17 sec)

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

     *
     * @author mbechler
     *
     */
    public class SmbUnsupportedOperationException extends SmbException {
    
        /**
         *
         */
        private static final long serialVersionUID = -5576981906065713710L;
    
        /**
         * Constructs a new SmbUnsupportedOperationException with a default message
         */
        public SmbUnsupportedOperationException() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java

        @DisplayName("assertThrows captures and exposes the default message")
        void assertThrows_capturesDefaultMessage() {
            // Act & Assert
            SmbUnsupportedOperationException ex = assertThrows(SmbUnsupportedOperationException.class, () -> {
                throw new SmbUnsupportedOperationException();
            });
            assertEquals("Operation is not supported with the negotiated capabilities", ex.getMessage());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbWatchHandleImpl.java

                    req = r;
                } else {
                    if (!th.hasCapability(SmbConstants.CAP_NT_SMBS)) {
                        throw new SmbUnsupportedOperationException("Not supported without CAP_NT_SMBS");
                    }
    
                    /*
                     * NtTrans Notify Change Request / Response
                     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NetServerEnumIterator.java

         */
        private void checkStatus() throws SmbException {
            final int status = this.response.getStatus();
            if (status == WinError.ERROR_SERVICE_NOT_INSTALLED) {
                throw new SmbUnsupportedOperationException();
            }
            if (status != WinError.ERROR_SUCCESS && status != WinError.ERROR_MORE_DATA) {
                throw new SmbException(status, true);
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top