Package tenapull.data.persistence
Class DbException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
tenapull.data.persistence.DbException
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
LookupException
public class DbException
extends java.lang.RuntimeException
The type Db exception.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description DbException(java.lang.String msg, java.lang.Class pojoType)
Instantiates a new Db exception.DbException(java.lang.String msg, java.lang.Throwable rootCause, java.lang.Class pojoType)
Instantiates a new Db exception.DbException(java.lang.Throwable rootCause, java.lang.Class pojoType)
Instantiates a new Db exception. -
Method Summary
Modifier and Type Method Description java.lang.Class
getPojoType()
Gets pojo type.
-
Constructor Details
-
DbException
public DbException(java.lang.String msg, java.lang.Class pojoType)Instantiates a new Db exception.- Parameters:
msg
- the msgpojoType
- the pojo type
-
DbException
public DbException(java.lang.String msg, java.lang.Throwable rootCause, java.lang.Class pojoType)Instantiates a new Db exception.- Parameters:
msg
- the msgrootCause
- the root causepojoType
- the pojo type
-
DbException
public DbException(java.lang.Throwable rootCause, java.lang.Class pojoType)Instantiates a new Db exception.- Parameters:
rootCause
- the root causepojoType
- the pojo type
-
-
Method Details
-
getPojoType
public java.lang.Class getPojoType()Gets pojo type.- Returns:
- the pojo type
-