Class AccountAlreadyExistsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.ntnu.idi.idatt2106.sparesti.sparestibackend.exception.account.AccountAlreadyExistsException
- All Implemented Interfaces:
Serializable
Exception that is thrown when creating an account that already exists
- Since:
- 24.4.24
- Version:
- 1.0
- Author:
- Lars M.L.N
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAccountAlreadyExistsException
(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
-
AccountAlreadyExistsException
Constructs an instance of the exception class- Parameters:
message
- Custom message that the exception is thrown with
-