Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package dev.opendata.common;

/**
* Thrown when an append with a timeout expires before the write queue has space.
*
* <p>The caller can retry the same batch of records.
*/
public class AppendTimeoutException extends OpenDataNativeException {

public AppendTimeoutException(String message) {
super(message);
}
}
13 changes: 13 additions & 0 deletions common/src/main/java/dev/opendata/common/QueueFullException.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package dev.opendata.common;

/**
* Thrown when a non-blocking append fails because the write queue is full.
*
* <p>The caller can retry the same batch of records after the queue drains.
*/
public class QueueFullException extends OpenDataNativeException {

public QueueFullException(String message) {
super(message);
}
}
Loading