Package de.caluga.morphium.driver
Class MorphiumDriverException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- de.caluga.morphium.driver.MorphiumDriverException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
FunctionNotSupportedException,MorphiumDriverNetworkException
public class MorphiumDriverException extends Exception
error during accessing the database through the driver- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MorphiumDriverException(String message)MorphiumDriverException(String message, Throwable cause)MorphiumDriverException(String message, Throwable cause, String collection, String db, Map<String,Object> q)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCollection()StringgetDb()ObjectgetMongoCode()ObjectgetMongoReason()Map<String,Object>getQuery()voidsetCollection(String collection)voidsetDb(String db)voidsetMongoCode(Object mongoCode)voidsetMongoReason(Object mongoReason)voidsetQuery(Map<String,Object> query)-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
MorphiumDriverException
public MorphiumDriverException(String message)
-
-
Method Detail
-
getMongoCode
public Object getMongoCode()
-
setMongoCode
public void setMongoCode(Object mongoCode)
-
getMongoReason
public Object getMongoReason()
-
setMongoReason
public void setMongoReason(Object mongoReason)
-
getCollection
public String getCollection()
-
setCollection
public void setCollection(String collection)
-
getDb
public String getDb()
-
setDb
public void setDb(String db)
-
-