mirror of
https://github.com/apple/pkl.git
synced 2026-04-17 14:09:48 +02:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user