Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for TransportException (0.16 sec)

  1. src/main/java/jcifs/util/transport/TransportException.java

     */
    public class TransportException extends CIFSException {
    
        /**
         *
         */
        private static final long serialVersionUID = 3743631204022885618L;
    
        /**
         * Constructs a new TransportException with no detail message.
         */
        public TransportException() {
        }
    
        /**
         * Constructs a new TransportException with the specified detail message.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/util/transport/TransportException.java

     */
    public class TransportException extends IOException {
    
        /** The root cause exception */
        private Throwable rootCause;
    
        /**
         * Constructs a new TransportException with no detail message.
         */
        public TransportException() {
        }
    
        /**
         * Constructs a new TransportException with the specified detail message.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/transport/TransportExceptionTest.java

            assertThrows(TransportException.class, () -> {
                throw new TransportException(expectedMessage);
            });
    
            // Test throwing and catching with cause
            RuntimeException cause = new RuntimeException("Cause");
            TransportException thrown = assertThrows(TransportException.class, () -> {
                throw new TransportException(cause);
            });
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/transport/RequestTimeoutExceptionTest.java

        @Test
        void testIsInstanceOfTransportException() {
            // Verify that RequestTimeoutException is a subclass of TransportException
            RequestTimeoutException exception = new RequestTimeoutException();
            assertTrue(exception instanceof TransportException, "RequestTimeoutException should be an instance of TransportException");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

         */
        protected IOException seToIoe(final SmbException se) {
            IOException ioe = se;
            Throwable root = se.getRootCause();
            if (root instanceof TransportException) {
                ioe = (TransportException) root;
                root = ((TransportException) ioe).getRootCause();
            }
            if (root instanceof InterruptedException) {
                ioe = new InterruptedIOException(root.getMessage());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/transport/TransportTest.java

            void shouldReturnTrueIfAlreadyConnected() throws TransportException {
                transport.setState(3); // Connected
                assertTrue(transport.connect(1000));
            }
    
            @Test
            @DisplayName("connect should throw TransportException on connection failure")
            void shouldThrowOnConnectionFailure() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/transport/RequestTimeoutException.java

     * Indicates that a request could not be completed within the specified timeout period.
     *
     * @author mbechler
     */
    public class RequestTimeoutException extends TransportException {
    
        /**
         *
         */
        private static final long serialVersionUID = -8825922797594232534L;
    
        /**
         * Constructs a new RequestTimeoutException with no detail message.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/transport/ConnectionTimeoutException.java

     * Indicates that the connection could not be established within the specified timeout period.
     *
     * @author mbechler
     */
    public class ConnectionTimeoutException extends TransportException {
    
        /**
         *
         */
        private static final long serialVersionUID = 7327198103204592731L;
    
        /**
         * Constructs a new ConnectionTimeoutException with no detail message.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
Back to top