org.homeunix.thecave.buddi.plugin.api.exception
Class DataModelProblemException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.homeunix.thecave.buddi.plugin.api.exception.DataModelProblemException
All Implemented Interfaces:
java.io.Serializable

public class DataModelProblemException
extends java.lang.RuntimeException

The primary exception thrown when there is a problem with the data model. It is recommended to throw the instance of the problem data model if at all possible, as this helps in debugging. This extends RuntimeException, and thus should only be thrown if there is no chance of recovery.

Author:
wyatt
See Also:
Serialized Form

Field Summary
static long serialVersionUID
           
 
Constructor Summary
DataModelProblemException()
           
DataModelProblemException(java.lang.String message)
           
DataModelProblemException(java.lang.String message, Document dataModel)
          It is recommended to throw the instance of the problem data model if at all possible, as this helps in debugging.
DataModelProblemException(java.lang.String message, java.lang.Throwable cause)
           
DataModelProblemException(java.lang.String message, java.lang.Throwable cause, Document dataModel)
          It is recommended to throw the instance of the problem data model if at all possible, as this helps in debugging.
DataModelProblemException(java.lang.Throwable cause)
           
 
Method Summary
 Document getDataModel()
           
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

DataModelProblemException

public DataModelProblemException()

DataModelProblemException

public DataModelProblemException(java.lang.String message)

DataModelProblemException

public DataModelProblemException(java.lang.Throwable cause)

DataModelProblemException

public DataModelProblemException(java.lang.String message,
                                 java.lang.Throwable cause)

DataModelProblemException

public DataModelProblemException(java.lang.String message,
                                 Document dataModel)
It is recommended to throw the instance of the problem data model if at all possible, as this helps in debugging.

Parameters:
message -
dataModel -

DataModelProblemException

public DataModelProblemException(java.lang.String message,
                                 java.lang.Throwable cause,
                                 Document dataModel)
It is recommended to throw the instance of the problem data model if at all possible, as this helps in debugging.

Parameters:
message -
cause -
dataModel -
Method Detail

getDataModel

public Document getDataModel()