Skip to content

Commit b5ad055

Browse files
author
Milder Hernandez Cagua
committed
Updates
1 parent f92a0ed commit b5ad055

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

semantickernel-experimental/src/main/java/com/microsoft/semantickernel/connectors/data/azureaisearch/AzureAISearchVectorStore.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,10 @@ public Builder withOptions(
126126
*/
127127
public AzureAISearchVectorStore build() {
128128
if (searchIndexAsyncClient == null) {
129-
throw new IllegalStateException("searchIndexAsyncClient is required");
129+
throw new SKException("searchIndexAsyncClient is required");
130130
}
131131
if (options == null) {
132-
throw new IllegalStateException("options is required");
132+
throw new SKException("options is required");
133133
}
134134

135135
return new AzureAISearchVectorStore(searchIndexAsyncClient, options);

0 commit comments

Comments
 (0)