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.

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • DbException

      public DbException​(java.lang.String msg, java.lang.Class pojoType)
      Instantiates a new Db exception.
      Parameters:
      msg - the msg
      pojoType - 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 msg
      rootCause - the root cause
      pojoType - the pojo type
    • DbException

      public DbException​(java.lang.Throwable rootCause, java.lang.Class pojoType)
      Instantiates a new Db exception.
      Parameters:
      rootCause - the root cause
      pojoType - the pojo type
  • Method Details

    • getPojoType

      public java.lang.Class getPojoType()
      Gets pojo type.
      Returns:
      the pojo type