Uses of Class
exceptions.BuildObjectException
Packages that use BuildObjectException
Package
Description
-
Uses of BuildObjectException in collectionManagers.modeManagers
Methods in collectionManagers.modeManagers that throw BuildObjectException -
Uses of BuildObjectException in collectionManagers.modeManagers.nonUserMode
Methods in collectionManagers.modeManagers.nonUserMode that throw BuildObjectExceptionModifier and TypeMethodDescriptionCityNonUserManager.buildObject()Generates a City object by reading values from the scanner and sets its attributes accordingly. -
Uses of BuildObjectException in collectionManagers.modeManagers.userMode
Methods in collectionManagers.modeManagers.userMode that throw BuildObjectExceptionModifier and TypeMethodDescriptionCityCLIManager.buildObject()Builds a new City object using user input through the command line interface.ClimateCLIManager.buildObject()This method builds the Climate object using user input and returns the constructed object.CoordinatesCLIManager.buildObject()Builds a Coordinates object via command-line interface, prompting the user for input.GovernmentCLIManager.buildObject()This method builds the Government object using user input and returns the constructed object.HumanCLIManager.buildObject()Constructs a new Human object through the CLI by prompting the user to enter the name of the governor.StandardOfLivingCLIManager.buildObject()This method builds the StandardOfLiving object using user input and returns the constructed object.EnumRequester.requestEnum(T[] values, String enumName, Scanner scanner, InputValidator inputValidator) Requests an enum value from the user based on the provided array of enum values. -
Uses of BuildObjectException in commandManagers
Methods in commandManagers that throw BuildObjectException -
Uses of BuildObjectException in commandManagers.commands
Methods in commandManagers.commands that throw BuildObjectExceptionModifier and TypeMethodDescriptionvoidAdd.execute()Adds a new city to the collection if an argument is not provided.voidAddIfMin.execute()Adds a new city to the collection if its population is less than the population of the smallest city in the collection.voidRemoveGreater.execute()Executes the RemoveGreater command.voidUpdateId.execute()Executes the UpdateId command by updating a city with a specified id number in the collection.