BatchUpdateException

ldbc.connector.exception.BatchUpdateException
class BatchUpdateException(message: String, updateCounts: List[Long], sqlState: Option[String], vendorCode: Option[Int], sql: Option[String], detail: Option[String], hint: Option[String]) extends SQLException

The subclass of [[SQLException]] thrown when an error occurs during a batch update operation. In addition to the information provided by [[SQLException]], a BatchUpdateException provides the update counts for all commands that were executed successfully during the batch update, that is, all commands that were executed before the error occurred. The order of elements in an array of update counts corresponds to the order in which commands were added to the batch.

Attributes

Source
BatchUpdateException.scala
Graph
Supertypes
class SQLException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def fields: List[Attribute[_]]

Summarize error information into attributes.

Summarize error information into attributes.

Attributes

Definition Classes
Source
BatchUpdateException.scala

Inherited methods

final def addSuppressed(x$0: Throwable): Unit

Attributes

Inherited from:
Throwable
def fillInStackTrace(): Throwable

Attributes

Inherited from:
Throwable
def getCause(): Throwable

Attributes

Inherited from:
Throwable

Retrieves the vendor-specific exception code for this SQLException object.

Retrieves the vendor-specific exception code for this SQLException object.

Attributes

Returns

the vendor's error code

Inherited from:
SQLException
Source
SQLException.scala
def getLocalizedMessage(): String

Attributes

Inherited from:
Throwable
final override def getMessage: String

Attributes

Definition Classes
SQLException -> Throwable
Inherited from:
SQLException
Source
SQLException.scala

Retrieves the SQLState for this SQLException object.

Retrieves the SQLState for this SQLException object.

Attributes

Returns

the SQLState value

Inherited from:
SQLException
Source
SQLException.scala
def getStackTrace(): Array[StackTraceElement]

Attributes

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

Attributes

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

Attributes

Inherited from:
Throwable
def labeled(label: String, s: String): String

Attributes

Inherited from:
SQLException
Source
SQLException.scala
def printStackTrace(x$0: PrintWriter): Unit

Attributes

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

Attributes

Inherited from:
Throwable

Attributes

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

Attributes

Inherited from:
Throwable
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.

Inherited from:
Throwable