Class TooFewStocksOwnedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.truebubo.maniflow.stock.TooFewStocksOwnedException
All Implemented Interfaces:
Serializable

public class TooFewStocksOwnedException extends Exception
Exception to be throws when one wants to sell more than they own
See Also:
  • Constructor Details

    • TooFewStocksOwnedException

      public TooFewStocksOwnedException(String message)
      Exception with message
      Parameters:
      message - Cause of the exception