diff --git a/langchain4j-elasticsearch/src/main/java/dev/langchain4j/store/embedding/elasticsearch/ElasticsearchRequestFailedException.java b/langchain4j-elasticsearch/src/main/java/dev/langchain4j/store/embedding/elasticsearch/ElasticsearchRequestFailedException.java index b21246ea987..de2615f87ad 100644 --- a/langchain4j-elasticsearch/src/main/java/dev/langchain4j/store/embedding/elasticsearch/ElasticsearchRequestFailedException.java +++ b/langchain4j-elasticsearch/src/main/java/dev/langchain4j/store/embedding/elasticsearch/ElasticsearchRequestFailedException.java @@ -1,6 +1,6 @@ package dev.langchain4j.store.embedding.elasticsearch; -class ElasticsearchRequestFailedException extends RuntimeException { +public class ElasticsearchRequestFailedException extends RuntimeException { public ElasticsearchRequestFailedException() { super(); diff --git a/langchain4j-opensearch/src/main/java/dev/langchain4j/store/embedding/opensearch/OpenSearchRequestFailedException.java b/langchain4j-opensearch/src/main/java/dev/langchain4j/store/embedding/opensearch/OpenSearchRequestFailedException.java index 97cec95d537..8f6045dffb2 100644 --- a/langchain4j-opensearch/src/main/java/dev/langchain4j/store/embedding/opensearch/OpenSearchRequestFailedException.java +++ b/langchain4j-opensearch/src/main/java/dev/langchain4j/store/embedding/opensearch/OpenSearchRequestFailedException.java @@ -1,6 +1,6 @@ package dev.langchain4j.store.embedding.opensearch; -class OpenSearchRequestFailedException extends RuntimeException { +public class OpenSearchRequestFailedException extends RuntimeException { public OpenSearchRequestFailedException() { super();