IT. Expert System.

Android Reference

SQLIntegrityConstraintViolationException


java.sql

Class SQLIntegrityConstraintViolationException

  • All Implemented Interfaces:
    Serializable, Iterable<Throwable>


    public class SQLIntegrityConstraintViolationException
    extends SQLNonTransientException
    An exception, which is subclass of SQLNonTransientException, is thrown when various the an integrity constraint (foreign key, primary key or unique key) has been violated.
    See Also:
    Serialized Form
    • Constructor Detail

      • SQLIntegrityConstraintViolationException

        public SQLIntegrityConstraintViolationException()
        Creates an SQLIntegrityConstraintViolationException object. The Reason string is set to null, the SQLState string is set to null and the Error Code is set to 0.
      • SQLIntegrityConstraintViolationException

        public SQLIntegrityConstraintViolationException(String reason)
        Creates an SQLIntegrityConstraintViolationException object. The Reason string is set to the given reason string, the SQLState string is set to null and the Error Code is set to 0.
        Parameters:
        reason - the string to use as the Reason string
      • SQLIntegrityConstraintViolationException

        public SQLIntegrityConstraintViolationException(String reason,
                                                String sqlState)
        Creates an SQLIntegrityConstraintViolationException object. The Reason string is set to the given reason string, the SQLState string is set to the given SQLState string and the Error Code is set to 0.
        Parameters:
        reason - the string to use as the Reason string
        sqlState - the string to use as the SQLState string
      • SQLIntegrityConstraintViolationException

        public SQLIntegrityConstraintViolationException(String reason,
                                                String sqlState,
                                                int vendorCode)
        Creates an SQLIntegrityConstraintViolationException object. The Reason string is set to the given reason string, the SQLState string is set to the given SQLState string and the Error Code is set to the given error code value.
        Parameters:
        reason - the string to use as the Reason string
        sqlState - the string to use as the SQLState string
        vendorCode - the integer value for the error code
      • SQLIntegrityConstraintViolationException

        public SQLIntegrityConstraintViolationException(Throwable cause)
        Creates an SQLIntegrityConstraintViolationException object. The Reason string is set to the null if cause == null or cause.toString() if cause!=null,and the cause Throwable object is set to the given cause Throwable object.
        Parameters:
        cause - the Throwable object for the underlying reason this SQLException
      • SQLIntegrityConstraintViolationException

        public SQLIntegrityConstraintViolationException(String reason,
                                                Throwable cause)
        Creates an SQLIntegrityConstraintViolationException object. The Reason string is set to the given and the cause Throwable object is set to the given cause Throwable object.
        Parameters:
        reason - the string to use as the Reason string
        cause - the Throwable object for the underlying reason this SQLException
      • SQLIntegrityConstraintViolationException

        public SQLIntegrityConstraintViolationException(String reason,
                                                String sqlState,
                                                Throwable cause)
        Creates an SQLIntegrityConstraintViolationException object. The Reason string is set to the given reason string, the SQLState string is set to the given SQLState string and the cause Throwable object is set to the given cause Throwable object.
        Parameters:
        reason - the string to use as the Reason string
        sqlState - the string to use as the SQLState string
        cause - the Throwable object for the underlying reason this SQLException
      • SQLIntegrityConstraintViolationException

        public SQLIntegrityConstraintViolationException(String reason,
                                                String sqlState,
                                                int vendorCode,
                                                Throwable cause)
        Creates an SQLIntegrityConstraintViolationException object. The Reason string is set to the given reason string, the SQLState string is set to the given SQLState string , the Error Code is set to the given error code value, and the cause Throwable object is set to the given cause Throwable object.
        Parameters:
        reason - the string to use as the Reason string
        sqlState - the string to use as the SQLState string
        vendorCode - the integer value for the error code
        cause - the Throwable object for the underlying reason this SQLException


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 1711 / . Delta: 0.02416 с