Class AccountTypeException

    • Constructor Detail

      • AccountTypeException

        public AccountTypeException​(AccountType requiredType)
        Creates a new AccountTypeException instance
        Parameters:
        requiredType - The required AccountType for the operation
      • AccountTypeException

        public AccountTypeException​(AccountType requiredType,
                                    String message)
        Creates a new AccountTypeException instance
        Parameters:
        requiredType - The required AccountType for the operation
        message - A specialized message