Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * See the file LICENSE for redistribution information.
  *
  * Copyright (c) 2002, 2013 Oracle and/or its affiliates.  All rights reserved.
  *
  */
 
 package com.sleepycat.je;
 
Base class for exceptions thrown when a write operation fails because of a secondary constraint. See subclasses for more information.

The Transaction handle is invalidated as a result of this exception.

Since:
4.0
See also:
Special considerations for using Secondary Databases with and without Transactions
public abstract class SecondaryConstraintException
    extends SecondaryReferenceException {
    private static final long serialVersionUID = 1L;

    
For internal use only.

Hidden:
    public SecondaryConstraintException(Locker locker,
                                        String message,
                                        String secDbName,
                                        DatabaseEntry secKey,
                                        DatabaseEntry priKey) {
        super(lockermessagesecDbNamesecKeypriKey);
    }

    
For internal use only.

Hidden:
                                 SecondaryReferenceException cause) {
        super(messagecause);
    }
New to GrepCode? Check out our FAQ X