Ollama4j
A Java library (wrapper/binding) for Ollama server.
Loading...
Searching...
No Matches
OllamaException.java
Go to the documentation of this file.
1
/*
2
* Ollama4j - Java library for interacting with Ollama server.
3
* Copyright (c) 2025 Amith Koujalgi and contributors.
4
*
5
* Licensed under the MIT License (the "License");
6
* you may not use this file except in compliance with the License.
7
*
8
*/
9
package
io.github.ollama4j.exceptions;
10
11
public
class
OllamaException
extends
Exception {
12
13
public
OllamaException
(String message) {
14
super(message);
15
}
16
17
public
OllamaException
(String message, Exception exception) {
18
super(message, exception);
19
}
20
}
io.github.ollama4j.exceptions.OllamaException
Definition
OllamaException.java:11
io.github.ollama4j.exceptions.OllamaException.OllamaException
OllamaException(String message)
Definition
OllamaException.java:13
io.github.ollama4j.exceptions.OllamaException.OllamaException
OllamaException(String message, Exception exception)
Definition
OllamaException.java:17
src
main
java
io
github
ollama4j
exceptions
OllamaException.java
Generated by
1.12.0