Package me.thiagorigonatti.capitalgains.exception
package me.thiagorigonatti.capitalgains.exception
This package provides custom exception classes used to handle
errors and exceptional scenarios during the execution of the application,
such as invalid input formats or logical inconsistencies.
-
Exception ClassesClassDescriptionException thrown when a sell operation attempts to sell more shares than are currently held.Exception thrown when an unrecognized operation type is encountered during processing.Exception thrown when an operation attempts to process a quantity that is zero or negative.