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

ldbc.connector.exception.SQLFeatureNotSupportedException.scala Maven / Gradle / Ivy

The newest version!
/**
 * Copyright (c) 2023-2024 by Takahiko Tominaga
 * This software is licensed under the MIT License (MIT).
 * For more information see LICENSE or https://opensource.org/licenses/MIT
 */

package ldbc.connector.exception

/**
 * The subclass of {@link SQLException} thrown when the SQLState class value is '0A'
 * ( the value is 'zero' A).
 *
 *
    *
  • no support for an optional feature *
  • no support for an optional overloaded method *
  • no support for an optional mode for a method. The mode for a method is *determined based on constants passed as parameter values to a method *
*/ class SQLFeatureNotSupportedException( message: String, sqlState: Option[String] = None, vendorCode: Option[Int] = None, sql: Option[String] = None, detail: Option[String] = None, hint: Option[String] = None ) extends SQLNonTransientException(message, sqlState, vendorCode, sql, detail, hint) object SQLFeatureNotSupportedException: def submitIssues(message: String, detail: Option[String]): SQLFeatureNotSupportedException = new SQLFeatureNotSupportedException( message, detail = detail, hint = Some( "Report Issues here: https://github.com/takapi327/ldbc/issues/new?assignees=&labels=&projects=&template=bug_report.md&title=" ) )




© 2015 - 2024 Weber Informatics LLC | Privacy Policy