com.elasticpath.persistence
Class EpPersistenceException

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.persistence.EpPersistenceException
All Implemented Interfaces:
java.io.Serializable

public class EpPersistenceException
extends EpSystemException

A general exception to wrap errors happen at persistence layer.

See Also:
Serialized Form

Constructor Summary
EpPersistenceException(java.lang.String msg)
          Creates a new EPPersistenceException object.
EpPersistenceException(java.lang.String msg, java.lang.Throwable cause)
          Creates a new EPPersistenceException object.
 
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

EpPersistenceException

public EpPersistenceException(java.lang.String msg)
Creates a new EPPersistenceException object.

Parameters:
msg - the message

EpPersistenceException

public EpPersistenceException(java.lang.String msg,
                              java.lang.Throwable cause)
Creates a new EPPersistenceException object.

Parameters:
msg - the message
cause - the root cause