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

public class AccountAlreadyExistsException extends RuntimeException
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 Details

    • AccountAlreadyExistsException

      public AccountAlreadyExistsException(String message)
      Constructs an instance of the exception class
      Parameters:
      message - Custom message that the exception is thrown with