mirror of
https://github.com/apple/pkl.git
synced 2026-07-07 05:25:17 +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;
|
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
|
* Indicates that an error occurred while initializing an HTTP client. A common example is an error
|
||||||
* reading or parsing a certificate.
|
* reading or parsing a certificate.
|
||||||
*/
|
*/
|
||||||
public class HttpClientInitException extends PklException {
|
public class HttpClientInitException extends RuntimeException {
|
||||||
public HttpClientInitException(String message) {
|
public HttpClientInitException(String message) {
|
||||||
super(message);
|
super(message);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user