- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 18 for TransportException (0.47 seconds)
-
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. *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.8K bytes - Click Count (0) -
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.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.1K bytes - Click Count (0) -
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); });
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java
TransportException exception = new TransportException("Message", rootCause); assertEquals(rootCause, exception.getRootCause()); } @Test @DisplayName("Should return null when no root cause") void testGetRootCauseWhenNull() { TransportException exception = new TransportException("Message");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/util/transport/Transport.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11.3K bytes - Click Count (0) -
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"); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.4K bytes - Click Count (0) -
src/main/java/jcifs/util/transport/Transport.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 27.8K bytes - Click Count (0) -
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());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 9.4K bytes - Click Count (0) -
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. */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2K bytes - Click Count (0) -
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. */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2K bytes - Click Count (0)