summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/kotlin/Authenticator.kt4
-rw-r--r--src/main/kotlin/except/FailedAuthenticationException.kt (renamed from src/main/kotlin/FailedAuthenticationException.kt)2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/main/kotlin/Authenticator.kt b/src/main/kotlin/Authenticator.kt
index a146840..47747f3 100644
--- a/src/main/kotlin/Authenticator.kt
+++ b/src/main/kotlin/Authenticator.kt
@@ -11,8 +11,8 @@ interface Authenticator {
* @param password The confirmation of the user's authenticity.
* @param readFun A function to read incoming data from the underlying connection.
* @param writeFun A function to write outgoing data into the underlying connection.
- * @throws FailedAuthenticationException if the authentication could not be performed. A human-readable reason for
- * the failure can be provided if necessary.
+ * @throws except.FailedAuthenticationException if the authentication could not be performed. A human-readable
+ * reason for the failure can be provided if necessary.
*/
fun authenticate(username: String, password: String, readFun: () -> Array<UByte>, writeFun: (b: Array<UByte>) -> Unit)
} \ No newline at end of file
diff --git a/src/main/kotlin/FailedAuthenticationException.kt b/src/main/kotlin/except/FailedAuthenticationException.kt
index dcff7bd..94935c3 100644
--- a/src/main/kotlin/FailedAuthenticationException.kt
+++ b/src/main/kotlin/except/FailedAuthenticationException.kt
@@ -1,3 +1,5 @@
+package except
+
/**
* The authentication with the remote part failed.
*