.circumflex-orm.2.0.1.source-code.exception.scala Maven / Gradle / Ivy
package ru.circumflex.orm
/*!# Exceptions
The `ORMException`s are thrown by Circumflex ORM components and usually mean that current
transaction needs to be rolled back and closed ASAP.
*/
/**
* General exception in Circumflex ORM.
*
* For more information refer to
* exception.scala.
*/
class ORMException(msg: String, cause: Throwable) extends Exception(msg, cause) {
def this(msg: String) = this(msg, null)
def this(cause: Throwable) = this(null, cause)
}