SQLException

cc.otavia.sql.SQLException
class SQLException(message: String | Null, cause: Throwable | Null) extends Exception, Iterable[Throwable]

An exception that provides information on a database access error or other errors.

Each SQLException provides several kinds of information:

  • a string describing the error. This is used as the Java Exception message, available via the method getMesasge.
  • a "SQLstate" string, which follows either the XOPEN SQLstate conventions or the SQL:2003 conventions. The values of the SQLState string are described in the appropriate spec. The DatabaseMetaData method getSQLStateType can be used to discover whether the driver returns the XOPEN type or the SQL:2003 type.
  • an integer error code that is specific to each vendor. Normally this will be the actual error code returned by the underlying database.
  • a chain to a next Exception. This can be used to provide additional error information.
  • the causal relationship, if any for this SQLException.

Attributes

Graph
Supertypes
trait Iterable[Throwable]
trait IterableFactoryDefaults[Throwable, Iterable]
trait IterableOps[Throwable, Iterable, Iterable[Throwable]]
trait IterableOnceOps[Throwable, Iterable, Iterable[Throwable]]
trait IterableOnce[Throwable]
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Constructors

def this()
def this(message: String)
def this(cause: Throwable)

Concrete methods

override def iterator: Iterator[Throwable]

Attributes

Definition Classes
IterableOnce

Inherited methods

final def ++[B >: Throwable](suffix: IterableOnce[B]): Iterable[B]

Attributes

Inherited from:
IterableOps
final def addString(b: StringBuilder): b.type

Attributes

Inherited from:
IterableOnceOps
final def addString(b: StringBuilder, sep: String): b.type

Attributes

Inherited from:
IterableOnceOps
def addString(b: StringBuilder, start: String, sep: String, end: String): b.type

Attributes

Inherited from:
IterableOnceOps
final def addSuppressed(x$0: Throwable): Unit

Attributes

Inherited from:
Throwable
def collect[B](pf: PartialFunction[Throwable, B]): Iterable[B]

Attributes

Inherited from:
IterableOps
def collectFirst[B](pf: PartialFunction[Throwable, B]): Option[B]

Attributes

Inherited from:
IterableOnceOps
def concat[B >: Throwable](suffix: IterableOnce[B]): Iterable[B]

Attributes

Inherited from:
IterableOps
def copyToArray[B >: Throwable](xs: Array[B], start: Int, len: Int): Int

Attributes

Inherited from:
IterableOnceOps
def copyToArray[B >: Throwable](xs: Array[B], start: Int): Int

Attributes

Inherited from:
IterableOnceOps
def copyToArray[B >: Throwable](xs: Array[B]): Int

Attributes

Inherited from:
IterableOnceOps
def corresponds[B](that: IterableOnce[B])(p: (Throwable, B) => Boolean): Boolean

Attributes

Inherited from:
IterableOnceOps
def count(p: Throwable => Boolean): Int

Attributes

Inherited from:
IterableOnceOps
def drop(n: Int): Iterable[Throwable]

Attributes

Inherited from:
IterableOps
def dropRight(n: Int): Iterable[Throwable]

Attributes

Inherited from:
IterableOps
def dropWhile(p: Throwable => Boolean): Iterable[Throwable]

Attributes

Inherited from:
IterableOps
override def empty: Iterable[Throwable]

Attributes

Definition Classes
IterableFactoryDefaults -> IterableOps
Inherited from:
IterableFactoryDefaults
def exists(p: Throwable => Boolean): Boolean

Attributes

Inherited from:
IterableOnceOps
def fillInStackTrace(): Throwable

Attributes

Inherited from:
Throwable
def filter(pred: Throwable => Boolean): Iterable[Throwable]

Attributes

Inherited from:
IterableOps
def filterNot(pred: Throwable => Boolean): Iterable[Throwable]

Attributes

Inherited from:
IterableOps
def find(p: Throwable => Boolean): Option[Throwable]

Attributes

Inherited from:
IterableOnceOps
def flatMap[B](f: Throwable => IterableOnce[B]): Iterable[B]

Attributes

Inherited from:
IterableOps
def flatten[B](implicit asIterable: Throwable => IterableOnce[B]): Iterable[B]

Attributes

Inherited from:
IterableOps
def fold[A1 >: Throwable](z: A1)(op: (A1, A1) => A1): A1

Attributes

Inherited from:
IterableOnceOps
def foldLeft[B](z: B)(op: (B, Throwable) => B): B

Attributes

Inherited from:
IterableOnceOps
def foldRight[B](z: B)(op: (Throwable, B) => B): B

Attributes

Inherited from:
IterableOnceOps
def forall(p: Throwable => Boolean): Boolean

Attributes

Inherited from:
IterableOnceOps
def foreach[U](f: Throwable => U): Unit

Attributes

Inherited from:
IterableOnceOps
protected def fromSpecific(coll: IterableOnce[Throwable]): Iterable[Throwable]

Attributes

Inherited from:
IterableFactoryDefaults
def getCause(): Throwable

Attributes

Inherited from:
Throwable
def getLocalizedMessage(): String

Attributes

Inherited from:
Throwable
def getMessage(): String

Attributes

Inherited from:
Throwable
def getStackTrace(): Array[StackTraceElement]

Attributes

Inherited from:
Throwable
final def getSuppressed(): Array[Throwable]

Attributes

Inherited from:
Throwable
def groupBy[K](f: Throwable => K): Map[K, Iterable[Throwable]]

Attributes

Inherited from:
IterableOps
def groupMap[K, B](key: Throwable => K)(f: Throwable => B): Map[K, Iterable[B]]

Attributes

Inherited from:
IterableOps
def groupMapReduce[K, B](key: Throwable => K)(f: Throwable => B)(reduce: (B, B) => B): Map[K, B]

Attributes

Inherited from:
IterableOps
def grouped(size: Int): Iterator[Iterable[Throwable]]

Attributes

Inherited from:
IterableOps
def head: Throwable

Attributes

Inherited from:
IterableOps
def headOption: Option[Throwable]

Attributes

Inherited from:
IterableOps
def init: Iterable[Throwable]

Attributes

Inherited from:
IterableOps
def initCause(x$0: Throwable): Throwable

Attributes

Inherited from:
Throwable
def inits: Iterator[Iterable[Throwable]]

Attributes

Inherited from:
IterableOps
def isEmpty: Boolean

Attributes

Inherited from:
IterableOnceOps
override def isTraversableAgain: Boolean

Attributes

Definition Classes
IterableOps -> IterableOnceOps
Inherited from:
IterableOps
def iterableFactory: IterableFactory[Iterable]

Attributes

Inherited from:
Iterable
def knownSize: Int

Attributes

Inherited from:
IterableOnce
def last: Throwable

Attributes

Inherited from:
IterableOps
def lastOption: Option[Throwable]

Attributes

Inherited from:
IterableOps
def lazyZip[B](that: Iterable[B]): LazyZip2[Throwable, B, Iterable.this.type]

Attributes

Inherited from:
Iterable
def map[B](f: Throwable => B): Iterable[B]

Attributes

Inherited from:
IterableOps
def max[B >: Throwable](implicit ord: Ordering[B]): Throwable

Attributes

Inherited from:
IterableOnceOps
def maxBy[B](f: Throwable => B)(implicit ord: Ordering[B]): Throwable

Attributes

Inherited from:
IterableOnceOps
def maxByOption[B](f: Throwable => B)(implicit ord: Ordering[B]): Option[Throwable]

Attributes

Inherited from:
IterableOnceOps
def maxOption[B >: Throwable](implicit ord: Ordering[B]): Option[Throwable]

Attributes

Inherited from:
IterableOnceOps
def min[B >: Throwable](implicit ord: Ordering[B]): Throwable

Attributes

Inherited from:
IterableOnceOps
def minBy[B](f: Throwable => B)(implicit ord: Ordering[B]): Throwable

Attributes

Inherited from:
IterableOnceOps
def minByOption[B](f: Throwable => B)(implicit ord: Ordering[B]): Option[Throwable]

Attributes

Inherited from:
IterableOnceOps
def minOption[B >: Throwable](implicit ord: Ordering[B]): Option[Throwable]

Attributes

Inherited from:
IterableOnceOps
final def mkString: String

Attributes

Inherited from:
IterableOnceOps
final def mkString(sep: String): String

Attributes

Inherited from:
IterableOnceOps
final def mkString(start: String, sep: String, end: String): String

Attributes

Inherited from:
IterableOnceOps
protected def newSpecificBuilder: Builder[Throwable, Iterable[Throwable]]

Attributes

Inherited from:
IterableFactoryDefaults
def nonEmpty: Boolean

Attributes

Inherited from:
IterableOnceOps
def partition(p: Throwable => Boolean): (Iterable[Throwable], Iterable[Throwable])

Attributes

Inherited from:
IterableOps
def partitionMap[A1, A2](f: Throwable => Either[A1, A2]): (Iterable[A1], Iterable[A2])

Attributes

Inherited from:
IterableOps
def printStackTrace(x$0: PrintWriter): Unit

Attributes

Inherited from:
Throwable
def printStackTrace(x$0: PrintStream): Unit

Attributes

Inherited from:
Throwable
def printStackTrace(): Unit

Attributes

Inherited from:
Throwable
def product[B >: Throwable](implicit num: Numeric[B]): B

Attributes

Inherited from:
IterableOnceOps
def reduce[B >: Throwable](op: (B, B) => B): B

Attributes

Inherited from:
IterableOnceOps
def reduceLeft[B >: Throwable](op: (B, Throwable) => B): B

Attributes

Inherited from:
IterableOnceOps
def reduceLeftOption[B >: Throwable](op: (B, Throwable) => B): Option[B]

Attributes

Inherited from:
IterableOnceOps
def reduceOption[B >: Throwable](op: (B, B) => B): Option[B]

Attributes

Inherited from:
IterableOnceOps
def reduceRight[B >: Throwable](op: (Throwable, B) => B): B

Attributes

Inherited from:
IterableOnceOps
def reduceRightOption[B >: Throwable](op: (Throwable, B) => B): Option[B]

Attributes

Inherited from:
IterableOnceOps
protected def reversed: Iterable[Throwable]

Attributes

Inherited from:
IterableOnceOps
def scan[B >: Throwable](z: B)(op: (B, B) => B): Iterable[B]

Attributes

Inherited from:
IterableOps
def scanLeft[B](z: B)(op: (B, Throwable) => B): Iterable[B]

Attributes

Inherited from:
IterableOps
def scanRight[B](z: B)(op: (Throwable, B) => B): Iterable[B]

Attributes

Inherited from:
IterableOps
def setStackTrace(x$0: Array[StackTraceElement]): Unit

Attributes

Inherited from:
Throwable
def size: Int

Attributes

Inherited from:
IterableOnceOps
def sizeCompare(that: Iterable[_]): Int

Attributes

Inherited from:
IterableOps
def sizeCompare(otherSize: Int): Int

Attributes

Inherited from:
IterableOps
final def sizeIs: SizeCompareOps

Attributes

Inherited from:
IterableOps
def slice(from: Int, until: Int): Iterable[Throwable]

Attributes

Inherited from:
IterableOps
def sliding(size: Int, step: Int): Iterator[Iterable[Throwable]]

Attributes

Inherited from:
IterableOps
def sliding(size: Int): Iterator[Iterable[Throwable]]

Attributes

Inherited from:
IterableOps
def span(p: Throwable => Boolean): (Iterable[Throwable], Iterable[Throwable])

Attributes

Inherited from:
IterableOps
override def splitAt(n: Int): (Iterable[Throwable], Iterable[Throwable])

Attributes

Definition Classes
IterableOps -> IterableOnceOps
Inherited from:
IterableOps
def stepper[S <: Stepper[_]](implicit shape: StepperShape[Throwable, S]): S

Attributes

Inherited from:
IterableOnce
def sum[B >: Throwable](implicit num: Numeric[B]): B

Attributes

Inherited from:
IterableOnceOps
def tail: Iterable[Throwable]

Attributes

Inherited from:
IterableOps
def tails: Iterator[Iterable[Throwable]]

Attributes

Inherited from:
IterableOps
def take(n: Int): Iterable[Throwable]

Attributes

Inherited from:
IterableOps
def takeRight(n: Int): Iterable[Throwable]

Attributes

Inherited from:
IterableOps
def takeWhile(p: Throwable => Boolean): Iterable[Throwable]

Attributes

Inherited from:
IterableOps
override def tapEach[U](f: Throwable => U): Iterable[Throwable]

Attributes

Definition Classes
IterableOps -> IterableOnceOps
Inherited from:
IterableOps
def to[C1](factory: Factory[Throwable, C1]): C1

Attributes

Inherited from:
IterableOnceOps
def toArray[B >: Throwable : ClassTag]: Array[B]

Attributes

Inherited from:
IterableOnceOps
final def toBuffer[B >: Throwable]: Buffer[B]

Attributes

Inherited from:
IterableOnceOps
def toIndexedSeq: IndexedSeq[Throwable]

Attributes

Inherited from:
IterableOnceOps
def toList: List[Throwable]

Attributes

Inherited from:
IterableOnceOps
def toMap[K, V](implicit ev: Throwable <:< (K, V)): Map[K, V]

Attributes

Inherited from:
IterableOnceOps
def toSeq: Seq[Throwable]

Attributes

Inherited from:
IterableOnceOps
def toSet[B >: Throwable]: Set[B]

Attributes

Inherited from:
IterableOnceOps
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Iterable -> Any
Inherited from:
Iterable
def toVector: Vector[Throwable]

Attributes

Inherited from:
IterableOnceOps
def transpose[B](implicit asIterable: Throwable => Iterable[B]): Iterable[Iterable[B]]

Attributes

Inherited from:
IterableOps
def unzip[A1, A2](implicit asPair: Throwable => (A1, A2)): (Iterable[A1], Iterable[A2])

Attributes

Inherited from:
IterableOps
def unzip3[A1, A2, A3](implicit asTriple: Throwable => (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])

Attributes

Inherited from:
IterableOps
def view: View[Throwable]

Attributes

Inherited from:
IterableOps
def withFilter(p: Throwable => Boolean): WithFilter[Throwable, Iterable]

Attributes

Inherited from:
IterableOps
def zip[B](that: IterableOnce[B]): Iterable[(Throwable, B)]

Attributes

Inherited from:
IterableOps
def zipAll[A1 >: Throwable, B](that: Iterable[B], thisElem: A1, thatElem: B): Iterable[(A1, B)]

Attributes

Inherited from:
IterableOps
def zipWithIndex: Iterable[(Throwable, Int)]

Attributes

Inherited from:
IterableOps

Deprecated and Inherited methods

def ++:[B >: Throwable](that: IterableOnce[B]): Iterable[B]

Attributes

Deprecated
[Since version 2.13.0] Use ++ instead of ++: for collections of type Iterable
Inherited from:
IterableOps
final def /:[B](z: B)(op: (B, Throwable) => B): B

Attributes

Deprecated
[Since version 2.13.0] Use foldLeft instead of /:
Inherited from:
IterableOnceOps
final def :\[B](z: B)(op: (Throwable, B) => B): B

Attributes

Deprecated
[Since version 2.13.0] Use foldRight instead of :\\
Inherited from:
IterableOnceOps
def aggregate[B](z: => B)(seqop: (B, Throwable) => B, combop: (B, B) => B): B

Attributes

Deprecated
[Since version 2.13.0] For sequential collections, prefer `foldLeft(z)(seqop)`. For parallel collections, use `ParIterableLike#aggregate`.
Inherited from:
IterableOnceOps
def companion: IterableFactory[Iterable]

Attributes

Deprecated
[Since version 2.13.0] Use iterableFactory instead
Inherited from:
IterableOps
final def copyToBuffer[B >: Throwable](dest: Buffer[B]): Unit

Attributes

Deprecated
[Since version 2.13.0] Use `dest ++= coll` instead
Inherited from:
IterableOnceOps
def hasDefiniteSize: Boolean

Attributes

Deprecated
[Since version 2.13.0] Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)
Inherited from:
IterableOnceOps
final def repr: Iterable[Throwable]

Attributes

Deprecated
[Since version 2.13.0] Use coll instead of repr in a collection implementation, use the collection value itself from the outside
Inherited from:
IterableOps
def seq: Iterable.this.type

Attributes

Deprecated
[Since version 2.13.0] Iterable.seq always returns the iterable itself
Inherited from:
Iterable
final def toIterable: Iterable.this.type

Attributes

Deprecated
[Since version 2.13.7] toIterable is internal and will be made protected; its name is similar to `toList` or `toSeq`, but it doesn\'t copy non-immutable collections
Inherited from:
Iterable
final def toIterator: Iterator[Throwable]

Attributes

Deprecated
[Since version 2.13.0] Use .iterator instead of .toIterator
Inherited from:
IterableOnceOps
final def toStream: Stream[Throwable]

Attributes

Deprecated
[Since version 2.13.0] Use .to(LazyList) instead of .toStream
Inherited from:
IterableOnceOps
final def toTraversable: Iterable[Throwable]

Attributes

Deprecated
[Since version 2.13.0] toTraversable is internal and will be made protected; its name is similar to `toList` or `toSeq`, but it doesn\'t copy non-immutable collections
Inherited from:
IterableOps
def view(from: Int, until: Int): View[Throwable]

Attributes

Deprecated
[Since version 2.13.0] Use .view.slice(from, until) instead of .view(from, until)
Inherited from:
IterableOps