com.proschedule.core.persistence.exceptions
Class CustomerPersistenceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.proschedule.util.exceptions.PersistenceException
              extended by com.proschedule.core.persistence.exceptions.CustomerPersistenceException
All Implemented Interfaces:
java.io.Serializable

public class CustomerPersistenceException
extends PersistenceException

Exception padrão para as classes relacionadas com Customer

See Also:
Serialized Form

Constructor Summary
CustomerPersistenceException(java.lang.Object ex, java.lang.String message)
          Construtor da Classe - Cria a exception com base em outra exception e em uma mensagem personalizada para o erro.
CustomerPersistenceException(java.lang.String message)
          Construtor da Classe - Cria a exception com base em apenas uma mensagem de erro.
 
Method Summary
 
Methods inherited from class com.proschedule.util.exceptions.PersistenceException
getDetailMessage, getException, getMessage, setDetailMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, 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

CustomerPersistenceException

public CustomerPersistenceException(java.lang.String message)
Construtor da Classe - Cria a exception com base em apenas uma mensagem de erro.

Parameters:
message - Mensagem de erro

CustomerPersistenceException

public CustomerPersistenceException(java.lang.Object ex,
                                    java.lang.String message)
Construtor da Classe - Cria a exception com base em outra exception e em uma mensagem personalizada para o erro.

Parameters:
ex - A exceção disparada
message - A mensagem personalizada