Implementation of login endpoint.

This commit is contained in:
Florian THIERRY
2023-11-30 10:47:59 +01:00
parent 914785a29b
commit 36a7aacec7
13 changed files with 134 additions and 8 deletions

View File

@@ -0,0 +1,7 @@
package org.sportshub.domain.exception;
public abstract class FunctionnalException extends RuntimeException {
public FunctionnalException(final String message) {
super(message);
}
}

View File

@@ -0,0 +1,7 @@
package org.sportshub.domain.exception;
public class LoginFailureException extends FunctionnalException {
public LoginFailureException() {
super("Login or password incorrect.");
}
}