Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 45 of 45 for setException (0.12 sec)

  1. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

                response.exception(testException);
    
                assertTrue(response.isError());
                assertTrue(response.isReceived());
                assertSame(testException, response.getException());
            }
    
            @Test
            @DisplayName("Should handle error")
            void testError() throws InterruptedException {
                CountDownLatch latch = new CountDownLatch(1);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/NotifyResponseTest.java

            }
    
            @Override
            public void exception(Exception e) {
                this.exception = e;
            }
    
            @Override
            public Exception getException() {
                return this.exception;
            }
    
            @Override
            public void setExpiration(Long expiration) {
                this.expiration = expiration;
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

        public boolean isVerifyFailed() {
            return this.verifyFailed;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Response#getException()
         */
        @Override
        public Exception getException() {
            return this.exception;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Response#isError()
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/transport/Transport.java

                            }
    
                            if (curResp.isError()) {
                                throw new TransportException(this.name + " error reading response to " + curReq, curResp.getException());
                            }
                            if (isDisconnected() && this.state != 5) {
                                throw new TransportException(
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportImpl.java

                        this.credits.release(grantedCredits);
                    }
                }
            }
    
            if (!response.isReceived()) {
                throw new IOException("No response", response.getException());
            }
            return response;
    
        }
    
        private <T extends CommonServerMessageBlockResponse> T setupResponses(final CommonServerMessageBlockRequest request, T response)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
Back to top