Class NoSuchSavingsAccountException

java.lang.Object
java.lang.Throwable
java.lang.Exception
bank.exceptions.NoSuchSavingsAccountException
All Implemented Interfaces:
Serializable

public class NoSuchSavingsAccountException extends Exception
Account does not exist.
See Also:
Serialized Form
  • Constructor Details

    • NoSuchSavingsAccountException

      public NoSuchSavingsAccountException(int id)
      Parameters:
      id -
  • Method Details

    • getId

      public int getId()
      Returns:
      the id