java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.ntnu.idi.idatt2106.sparesti.sparestibackend.exception.account.AccountNotFoundException
All Implemented Interfaces:
Serializable

public class AccountNotFoundException extends RuntimeException
Exception that is thrown when putting to an account that does not exist
Since:
24.4.24
Version:
1.0
Author:
Lars M.L.N
See Also:
  • Constructor Details

    • AccountNotFoundException

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