38 * using {@link ListeningConnector#accept accept} this
39 * exception may be thrown if the connector supports a
40 * timeout connector argument when accepting.
41 *
42 * <p> In addition, for developers creating {@link
43 * com.sun.jdi.connect.spi.TransportService TransportService}
44 * implementations this exception is thrown when
45 * {@link com.sun.jdi.connect.spi.TransportService#attach attach}
46 * times out when establishing a connection to a target VM,
47 * or {@link com.sun.jdi.connect.spi.TransportService#accept
48 * accept} times out while waiting for a target VM to connect. </p>
49 *
50 * @see AttachingConnector#attach
51 * @see ListeningConnector#accept
52 * @see com.sun.jdi.connect.spi.TransportService#attach
53 * @see com.sun.jdi.connect.spi.TransportService#accept
54 *
55 * @since 1.5
56 */
57 public class TransportTimeoutException extends java.io.IOException {
58 private static final long serialVersionUID = 4107035242623365074L;
59 /**
60 * Constructs a {@code TransportTimeoutException} with no detail
61 * message.
62 */
63 public TransportTimeoutException() {
64 }
65
66
67 /**
68 * Constructs a {@code TransportTimeoutException} with the
69 * specified detail message.
70 *
71 * @param message the detail message pertaining to this exception.
72 */
73 public TransportTimeoutException(String message) {
74 super(message);
75 }
76
77 }
|
38 * using {@link ListeningConnector#accept accept} this
39 * exception may be thrown if the connector supports a
40 * timeout connector argument when accepting.
41 *
42 * <p> In addition, for developers creating {@link
43 * com.sun.jdi.connect.spi.TransportService TransportService}
44 * implementations this exception is thrown when
45 * {@link com.sun.jdi.connect.spi.TransportService#attach attach}
46 * times out when establishing a connection to a target VM,
47 * or {@link com.sun.jdi.connect.spi.TransportService#accept
48 * accept} times out while waiting for a target VM to connect. </p>
49 *
50 * @see AttachingConnector#attach
51 * @see ListeningConnector#accept
52 * @see com.sun.jdi.connect.spi.TransportService#attach
53 * @see com.sun.jdi.connect.spi.TransportService#accept
54 *
55 * @since 1.5
56 */
57 public class TransportTimeoutException extends java.io.IOException {
58
59 private static final long serialVersionUID = 4107035242623365074L;
60
61 /**
62 * Constructs a {@code TransportTimeoutException} with no detail
63 * message.
64 */
65 public TransportTimeoutException() {
66 }
67
68 /**
69 * Constructs a {@code TransportTimeoutException} with the
70 * specified detail message.
71 *
72 * @param message the detail message pertaining to this exception.
73 */
74 public TransportTimeoutException(String message) {
75 super(message);
76 }
77 }
|