Class InvalidProductException

  • All Implemented Interfaces:
    java.io.Serializable

    public class InvalidProductException
    extends java.lang.Exception
    See Also:
    Serialized Form
    • 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 Detail

      • InvalidProductException

        public InvalidProductException()
        Generic Invalid Product exception constructor
      • InvalidProductException

        public InvalidProductException​(java.lang.String message)
        Exception taking in a message
        Parameters:
        message - Message relating to exception
      • InvalidProductException

        public InvalidProductException​(java.lang.String message,
                                       java.lang.Throwable cause)
        Exception taking in a message, cause
        Parameters:
        message - Message relating to exception
        cause - throwable relating to exception
      • InvalidProductException

        public InvalidProductException​(java.lang.Throwable cause)
        Exception taking in a cause
        Parameters:
        cause - throwable relating to exception