com.taggercat.model
Class ModelException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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
 

Constructor Summary
ModelException(PropertyValueException pvex)
           
ModelException(java.lang.String message)
           
ModelException(java.lang.String message, java.lang.Exception cause)
           
ModelException(java.lang.String message, java.lang.Exception cause, java.lang.String dsn, java.lang.String propertyName, java.lang.String rowId)
           
ModelException(java.lang.String message, java.lang.String dsn, java.lang.String propertyName, java.lang.String rowId)
           
 
Method Summary
 java.lang.String getDsn()
           
 java.lang.String getPropertyName()
           
 java.lang.String getRowId()
           
 void setDsn(java.lang.String dsn)
           
 void setPropertyName(java.lang.String propertyName)
           
 void setRowId(java.lang.String rowId)
           
 
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

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)
Method Detail

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)