Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for WinError (0.03 sec)

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

     */
    
    package jcifs.smb;
    
    /**
     * Windows error codes used in SMB protocol operations.
     * These constants represent standard Windows error codes returned by SMB servers.
     */
    public interface WinError {
    
        /*
         * Don't bother to edit this. Everything within the interface
         * block is automatically generated from the ntstatus package.
         */
    
        /** The operation completed successfully */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/WinError.java

     */
    
    package jcifs.smb1.smb1;
    
    /**
     * Windows error codes used in SMB protocol operations.
     * These constants represent standard Windows error codes returned by SMB servers.
     */
    public interface WinError {
    
        /* Don't bother to edit this. Everthing within the interface
         * block is automatically generated from the ntstatus package.
         */
    
        /** The operation completed successfully */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/WinErrorTest.java

                    () -> assertEquals(71, WinError.ERROR_REQ_NOT_ACCEP), () -> assertEquals(230, WinError.ERROR_BAD_PIPE),
                    () -> assertEquals(231, WinError.ERROR_PIPE_BUSY), () -> assertEquals(232, WinError.ERROR_NO_DATA),
                    () -> assertEquals(233, WinError.ERROR_PIPE_NOT_CONNECTED), () -> assertEquals(234, WinError.ERROR_MORE_DATA),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/WinErrorTest.java

                assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                    int dummy = WinError.WINERR_CODES[WinError.WINERR_CODES.length];
                });
            }
        }
    
        @Test
        @DisplayName("Mockito mock of WinError")
        void mockInterfaceNoOps() {
            WinError mock = Mockito.mock(WinError.class);
            assertNotNull(mock);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/jcifs/smb1/dcerpc/DcerpcException.java

    import java.io.IOException;
    import java.io.PrintWriter;
    import java.io.StringWriter;
    
    import jcifs.smb1.smb1.WinError;
    import jcifs.smb1.util.Hexdump;
    
    /**
     * DCE/RPC exception class for SMB1 compatibility
     */
    public class DcerpcException extends IOException implements DcerpcError, WinError {
    
        static String getMessageByDcerpcError(final int errcode) {
            int min = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/DcerpcException.java

     */
    
    package jcifs.dcerpc;
    
    import jcifs.CIFSException;
    import jcifs.smb.WinError;
    import jcifs.util.Hexdump;
    
    /**
     * Exception class for DCE/RPC related errors.
     * This exception is thrown when DCE/RPC protocol errors occur.
     */
    public class DcerpcException extends CIFSException implements DcerpcError, WinError {
    
        /**
         *
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbException.java

     * such a case, please report it to jcifs at samba dot org and we will
     * change the mapping.
     */
    
    public class SmbException extends IOException implements NtStatus, DosError, WinError {
    
        static String getMessageByCode(final int errcode) {
            /* Note there's a signedness error here because 0xC0000000 based values are
             * negative so it with NT_STATUS_SUCCESS (0) the binary search will not be
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbException.java

     * such a case, please report it to jcifs at samba dot org and we will
     * change the mapping.
     */
    
    public class SmbException extends CIFSException implements NtStatus, DosError, WinError {
    
        /**
         *
         */
        private static final long serialVersionUID = 484863569441792249L;
    
        // to replace a bunch of one-off binary searches
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbEnumerationUtil.java

            final SmbComTransaction req = new NetShareEnum(th.getConfig());
            final SmbComTransactionResponse resp = new NetShareEnumResponse(th.getConfig());
            th.send(req, resp);
            if (resp.getStatus() != WinError.ERROR_SUCCESS) {
                throw new SmbException(resp.getStatus(), true);
            }
    
            return resp.getResults();
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top