Class
Tree
          
SUMMARY: INNER | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD
 

com.newstep.solid.persistence
Class PersistenceException
java.lang.Throwable
  |
  +--java.lang.Exception
       |
       +--com.newstep.solid.persistence.PersistenceException
All Implemented Interfaces:
       Serializable
Direct Known Subclasses:
       ConstraintException, ObjectNotFoundException, ReadOnlyException

public class PersistenceException      
Localizable exception wrapper used to abstract exceptions
generated by the persistence layer
Exceptions:
true
 
 

Field Summary
Object
Object
Object
Object
private final static long
Constructor Summary
public void
PersistenceException(String msgKey, Object args)
public void
PersistenceException(String msgKey, Object args, Throwable exception)
public void
PersistenceException(Throwable exception)
public void
PersistenceException(String msgKey)
public void
PersistenceException(String msgKey, Throwable exception)
Method Summary
public Object
public Object
public void
setData(Object data)
Field Detail
args
Object args
Multiplicity:
1
 

args
Object args
 

data
Object data
 

data
Object data
Multiplicity:
1
 

serialVersionUID
private final static long serialVersionUID
Final.
Multiplicity:
1
Static.
 
Constructor Detail
PersistenceException
public void PersistenceException (String msgKey, Object args)
 
Constructor for the PersistenceException object
Parameters:
msgKey an msgKey string used for localization
args an array of Objects to be localized and substituted into the message
Stereotype:
create
 

PersistenceException
public void PersistenceException (String msgKey, Object args, Throwable exception)
 
Constructor for the PersistenceException object
Parameters:
msgKey an msgKey string used for localization
args an array of Objects to be localized and substituted into the message
exception the throwable that motivated the PersistenceException
Stereotype:
create
 

PersistenceException
public void PersistenceException (Throwable exception)
 
Constructor for the PersistenceException object
Parameters:
exception the throwable that motivated the PersistenceException
Stereotype:
create
 

PersistenceException
public void PersistenceException (String msgKey)
 
Constructor for the PersistenceException object
Parameters:
msgKey an msgKey string used for localization
Stereotype:
create
 

PersistenceException
public void PersistenceException (String msgKey, Throwable exception)
 
Constructor for the PersistenceException object
Parameters:
msgKey an msgKey string used for localization
exception the throwable that motivated the PersistenceException
Stereotype:
create
 
Method Detail
getArgs
public Object getArgs ()
 
Gets the args attribute of the PersistenceException object
Return:
The args value
 

getData
public Object getData ()
 
Gets the auxiliary data of the PersistenceException object
Return:
The data value
 

setData
public void setData (Object data)
 
Sets the auxiliary data of the PersistenceException object
Parameters:
data the data object
 

Class
Tree
          
SUMMARY: INNER | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD