All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.twitter.finagle.mysql.ColumnNotFoundException.scala Maven / Gradle / Ivy

There is a newer version: 24.2.0
Show newest version
package com.twitter.finagle.mysql

import com.twitter.finagle.FailureFlags
import java.sql.SQLNonTransientException

/**
 * Indicates the requested column name was not found.
 */
class ColumnNotFoundException private[mysql] (
  columnName: String,
  val flags: Long = FailureFlags.NonRetryable)
    extends SQLNonTransientException(s"Column not found: '$columnName'")
    with FailureFlags[ColumnNotFoundException] {

  protected def copyWithFlags(flags: Long): ColumnNotFoundException =
    new ColumnNotFoundException(columnName, flags)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy