com.elasticpath.service.shipping
Class ShippingRegionExistException

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.service.EpServiceException
                      extended by com.elasticpath.service.shipping.ShippingRegionExistException
All Implemented Interfaces:
java.io.Serializable

public class ShippingRegionExistException
extends EpServiceException

The exception for shipping region with a certain name already exists.

See Also:
Serialized Form

Constructor Summary
ShippingRegionExistException(java.lang.String message)
          Creates a new ShippingRegionExistException object with the given message.
ShippingRegionExistException(java.lang.String message, java.lang.Throwable cause)
          Creates a new ShippingRegionExistException object using the given message and cause exception.
 
Method Summary
 
Methods inherited from class com.elasticpath.service.EpServiceException
getName
 
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

ShippingRegionExistException

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

Parameters:
message - the reason for this ShippingRegionExistException.

ShippingRegionExistException

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

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