Class NegativeQuantityException

java.lang.Object
java.lang.Throwable
java.lang.Exception
it.polimi.ingsw.model.modelexceptions.ModelException
it.polimi.ingsw.model.modelexceptions.NegativeQuantityException
All Implemented Interfaces:
java.io.Serializable

public class NegativeQuantityException
extends ModelException
Thrown when a specified quantity is negative
See Also:
Serialized Form
  • Constructor Summary

    Constructors
    Constructor Description
    NegativeQuantityException()  
    NegativeQuantityException​(java.lang.String message)  
  • Method Summary

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • NegativeQuantityException

      public NegativeQuantityException()
    • NegativeQuantityException

      public NegativeQuantityException​(java.lang.String message)