mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-10-05 21:22:39 +02:00
15 lines
404 B
Java
15 lines
404 B
Java
package nu.marginalia.service.client;
|
|
|
|
import nu.marginalia.service.discovery.property.ServiceKey;
|
|
|
|
public class ServiceNotAvailableException extends RuntimeException {
|
|
public ServiceNotAvailableException(ServiceKey<?> key) {
|
|
super(key.toString());
|
|
}
|
|
|
|
@Override
|
|
public StackTraceElement[] getStackTrace() { // Suppress stack trace
|
|
return new StackTraceElement[0];
|
|
}
|
|
}
|