com.taggercat.model
Class ModelException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.taggercat.model.ModelException
- All Implemented Interfaces:
- java.io.Serializable
public class ModelException
- extends java.lang.Exception
This class is used to raise Model exceptions; usually as the result of failed
queries or updates.
- See Also:
- Serialized Form
-
| 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 |
ModelException
public ModelException(java.lang.String message,
java.lang.Exception cause)
ModelException
public ModelException(java.lang.String message)
ModelException
public ModelException(java.lang.String message,
java.lang.Exception cause,
java.lang.String dsn,
java.lang.String propertyName,
java.lang.String rowId)
ModelException
public ModelException(java.lang.String message,
java.lang.String dsn,
java.lang.String propertyName,
java.lang.String rowId)
ModelException
public ModelException(PropertyValueException pvex)
setPropertyName
public void setPropertyName(java.lang.String propertyName)
- Parameters:
propertyName - The propertyName to set.
getDsn
public java.lang.String getDsn()
- Returns:
- Returns the dsn.
setDsn
public void setDsn(java.lang.String dsn)
- Parameters:
dsn - The dsn to set.
getPropertyName
public java.lang.String getPropertyName()
- Returns:
- Returns the propertyName.
getRowId
public java.lang.String getRowId()
setRowId
public void setRowId(java.lang.String rowId)