Change HttpClientInitException to extend RuntimeException (#359)

PklException is mainly used to indicate errors during evaluation of Pkl code.
It isn't a suitable superclass for HttpClientInitException.
This commit is contained in:
translatenix
2024-03-22 16:32:16 -07:00
committed by GitHub
parent deaf6983c4
commit 11a2343a65

View File

@@ -15,13 +15,11 @@
*/
package org.pkl.core.http;
import org.pkl.core.PklException;
/**
* Indicates that an error occurred while initializing an HTTP client. A common example is an error
* reading or parsing a certificate.
*/
public class HttpClientInitException extends PklException {
public class HttpClientInitException extends RuntimeException {
public HttpClientInitException(String message) {
super(message);
}