Constructors Summary |
---|
public PersistenceException()Constructs an exception without cause or reason.
this("An exception for no reason whatsoever.", null);
|
public PersistenceException(String reason)Constructs a new exception for the specified reason.
this(reason, null);
|
public PersistenceException(Exception e)Constructs a new exception caused by the specified exception.
this("A persisitence exception caused by: " + e.getMessage(), e);
|
public PersistenceException(String reason, Exception e)Constructs a new exception with both a cause and reason.
super(reason);
cause = e;
|