From aba9d0e6b869eee8e73f9f570394122bca57a1a9 Mon Sep 17 00:00:00 2001 From: Edoardo La Greca Date: Thu, 7 Aug 2025 19:58:20 +0200 Subject: move FailedAuthenticationException to except package --- src/main/kotlin/except/FailedAuthenticationException.kt | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/main/kotlin/except/FailedAuthenticationException.kt (limited to 'src/main/kotlin/except') diff --git a/src/main/kotlin/except/FailedAuthenticationException.kt b/src/main/kotlin/except/FailedAuthenticationException.kt new file mode 100644 index 0000000..94935c3 --- /dev/null +++ b/src/main/kotlin/except/FailedAuthenticationException.kt @@ -0,0 +1,8 @@ +package except + +/** + * The authentication with the remote part failed. + * + * @param reason A human-readable reason for which the authentication failed. + */ +class FailedAuthenticationException(val reason: String) : Exception("Authentication with remote host failed: $reason") \ No newline at end of file -- cgit v1.2.3