Class NoSuchAccountException

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

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

    • NoSuchAccountException

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

    • getId

      public int getId()
      Returns:
      the id