Class UserAlreadyExistsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.ntnu.idi.idatt2106.sparesti.sparestibackend.exception.user.UserAlreadyExistsException
- All Implemented Interfaces:
Serializable
Exception that is thrown when creating a user that already exists
- Since:
- 17.4.24
- Version:
- 1.0
- Author:
- Harry L.X and Lars M.L.N
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUserAlreadyExistsException
(String message) Constructs an instance of the exception class -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UserAlreadyExistsException
Constructs an instance of the exception class- Parameters:
message
- Custom message that the exception is thrown with
-