com.elasticpath.sfweb
Class ProductUnavailableException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.elasticpath.commons.exception.EpSystemException
                  extended by com.elasticpath.sfweb.EpSfWebException
                      extended by com.elasticpath.sfweb.ProductUnavailableException
All Implemented Interfaces:
java.io.Serializable

public class ProductUnavailableException
extends EpSfWebException

Thrown when the user attempts to view a product that is not currently available.

See Also:
Serialized Form

Constructor Summary
ProductUnavailableException(java.lang.String message)
          Creates a new EpWebException object with the given message.
ProductUnavailableException(java.lang.String message, java.lang.Throwable cause)
          Creates a new EpWebException object using the given message and cause exception.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProductUnavailableException

public ProductUnavailableException(java.lang.String message)
Creates a new EpWebException object with the given message.

Parameters:
message - the reason for this EpWebException.

ProductUnavailableException

public ProductUnavailableException(java.lang.String message,
                                   java.lang.Throwable cause)
Creates a new EpWebException object using the given message and cause exception.

Parameters:
message - the reason for this EpWebException.
cause - the Throwable that caused this EpServiceException.