org.homeunix.thecave.buddi.plugin.api.exception
Class DataModelProblemException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
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
| 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 |
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
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 -
getDataModel
public Document getDataModel()