object invariant
Module defining the type of exceptions representing unmet expectations. These typically indicate a problem with the schema, with type mapping, with driver compliance, and so on. The intent is that they be as fine-grained as reasonable for diagnostic purposes, but it is not expected that the application should be able to handle them in any meaningful way.
- Source
- invariant.scala
- Alphabetic
- By Inheritance
- invariant
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- sealed abstract class ArrayStructureViolation extends InvariantViolation
Array violations.
Array violations. Not terribly illuminating at this point.
- final case class InvalidEnum[A](value: String)(implicit ev: TypeName[A]) extends InvariantViolation with Product with Serializable
Unexpected string value for an enumerated type.
- final case class InvalidObjectMapping[A, B](expected: Class[A], actual: Class[B]) extends InvariantViolation with Product with Serializable
Invalid JAVA_OBJECT mapping.
- final case class InvalidOrdinal[A](value: Int)(implicit ev: TypeName[A]) extends InvariantViolation with Product with Serializable
Unexpected ordinal value for an enumerated type.
- final case class InvalidValue[A, B](value: A, reason: String)(implicit sA: Show[A], evA: TypeName[A], evB: TypeName[B]) extends InvariantViolation with Product with Serializable
- sealed abstract class InvariantViolation extends Exception
- sealed abstract class MappingViolation extends InvariantViolation
The type of schema violations.
- final case class NonNullableColumnRead(index: Int, jdbcType: JdbcType) extends MappingViolation with Product with Serializable
- final case class NonNullableColumnUpdate(index: Int, jdbcType: JdbcType) extends MappingViolation with Product with Serializable
- final case class NonNullableParameter(index: Int, jdbcType: JdbcType) extends MappingViolation with Product with Serializable
- final case class SecondaryValidationFailed[A](value: String)(implicit ev: TypeName[A]) extends InvariantViolation with Product with Serializable
- sealed abstract class UnexpectedCursorPosition extends InvariantViolation
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- case object NullableCellRead extends ArrayStructureViolation with Product with Serializable
- case object NullableCellUpdate extends ArrayStructureViolation with Product with Serializable
- case object UnexpectedContinuation extends UnexpectedCursorPosition with Product with Serializable
- case object UnexpectedEnd extends UnexpectedCursorPosition with Product with Serializable