Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 433 for yyerror (0.04 sec)

  1. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

        @DisplayName("Test Response interface methods - isError")
        void testIsError() {
            // Given
            when(response.isError()).thenReturn(false);
    
            // When
            boolean isError = response.isError();
    
            // Then
            assertFalse(isError);
            verify(response).isError();
        }
    
        @Test
        @DisplayName("Test Response interface methods - error")
        void testError() {
            // Given
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/transport/Response.java

         */
        boolean isVerifyFailed();
    
        /**
         * Checks if the response indicates an error.
         *
         * @return whether the response is an error
         */
        boolean isError();
    
        /**
         * Set error status
         */
        void error();
    
        /**
         * Gets the expiration time for this response.
         *
         * @return the message timeout
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

            this.error = true;
            this.exception = e;
            this.received = true;
            synchronized (this) {
                notifyAll();
            }
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Response#error()
         */
        @Override
        public final void error() {
            this.error = true;
            synchronized (this) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTreeImpl.java

                    log.warn("Tree was not properly released, performing emergency cleanup: " + this);
                    emergencyCleanup();
                }
            } catch (Exception e) {
                log.error("Error during tree finalization", e);
            } finally {
                super.finalize();
            }
        }
    
        /**
         * Emergency cleanup method to prevent memory leaks during finalization
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbSession.java

                for (final Enumeration e = trees.elements(); e.hasMoreElements();) {
                    final SmbTree t = (SmbTree) e.nextElement();
                    t.treeDisconnect(inError);
                }
    
                if (!inError && transport.server.security != SmbConstants.SECURITY_SHARE) {
                    /*
                     * Logoff And X Request / Response
                     */
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbSessionImpl.java

                }).exceptionally(error -> {
                    log.error("Failed to register for witness notifications", error);
                    return null;
                });
    
            } catch (Exception e) {
                log.error("Error registering for witness notifications", e);
            }
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                Exception testException = new RuntimeException("Test error");
    
                assertNull(testBlock.getException());
    
                testBlock.exception(testException);
                assertEquals(testException, testBlock.getException());
            }
    
            @Test
            @DisplayName("Test error state")
            void testErrorState() {
                assertFalse(testBlock.isError());
    
                testBlock.error();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTreeConnection.java

                            try {
                                t.treeDisconnect(inError, true);
                            } finally {
                                this.tree = null;
                                this.treeAcquired = false;
                            }
                        } else {
                            this.delegate.disconnect(inError);
                        }
                    }
                }
            }
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (1)
  9. src/main/java/jcifs/util/transport/Transport.java

                    try {
                        disconnect(true);
                    } catch (Exception e) {
                        log.debug("Error during emergency transport disconnect", e);
                    }
                }
            } catch (Exception e) {
                log.error("Error during transport finalization", e);
            } finally {
                super.finalize();
            }
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

        public Exception getException() {
            return this.exception;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Response#isError()
         */
        @Override
        public boolean isError() {
            return this.isError;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Response#getRawPayload()
         */
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
Back to top