Skip to content

Commit 71e76f7

Browse files
committed
feat(heartbeat): add heartbeat exceptions
1 parent 7bc6273 commit 71e76f7

2 files changed

Lines changed: 60 additions & 0 deletions

File tree

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
/*
2+
* Copyright (c) 2026 VK DIGITAL TECHNOLOGIES LIMITED LIABILITY COMPANY
3+
* All Rights Reserved.
4+
*/
5+
6+
package io.tarantool.pool.availability.heartbeat.exceptions;
7+
8+
public class HeartbeatClosedException extends HeartbeatException {
9+
10+
public HeartbeatClosedException() {
11+
super();
12+
}
13+
14+
public HeartbeatClosedException(String message) {
15+
super(message);
16+
}
17+
18+
public HeartbeatClosedException(String message, Throwable cause) {
19+
super(message, cause);
20+
}
21+
22+
public HeartbeatClosedException(Throwable cause) {
23+
super(cause);
24+
}
25+
26+
protected HeartbeatClosedException(
27+
String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
28+
super(message, cause, enableSuppression, writableStackTrace);
29+
}
30+
}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
/*
2+
* Copyright (c) 2026 VK DIGITAL TECHNOLOGIES LIMITED LIABILITY COMPANY
3+
* All Rights Reserved.
4+
*/
5+
6+
package io.tarantool.pool.availability.heartbeat.exceptions;
7+
8+
public class HeartbeatException extends RuntimeException {
9+
10+
public HeartbeatException() {
11+
super();
12+
}
13+
14+
public HeartbeatException(String message) {
15+
super(message);
16+
}
17+
18+
public HeartbeatException(String message, Throwable cause) {
19+
super(message, cause);
20+
}
21+
22+
public HeartbeatException(Throwable cause) {
23+
super(cause);
24+
}
25+
26+
protected HeartbeatException(
27+
String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
28+
super(message, cause, enableSuppression, writableStackTrace);
29+
}
30+
}

0 commit comments

Comments
 (0)