public abstract class IndexEntryConflictException extends Exception
Constructor and Description |
---|
IndexEntryConflictException(String message) |
Modifier and Type | Method and Description |
---|---|
abstract String |
evidenceMessage(String labelName,
String propertyKey) |
abstract Object |
getPropertyValue() |
RuntimeException |
notAllowed(org.neo4j.kernel.impl.api.index.IndexDescriptor descriptor) |
RuntimeException |
notAllowed(long labelId,
long propertyKeyId)
Use this method in cases where
IndexEntryConflictException was caught but it should not have been
allowed to be thrown in the first place. |
protected static String |
quote(Object propertyValue) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public IndexEntryConflictException(String message)
public RuntimeException notAllowed(long labelId, long propertyKeyId)
IndexEntryConflictException
was caught but it should not have been
allowed to be thrown in the first place. Typically where the index we performed an operation on is not a
unique index.public RuntimeException notAllowed(org.neo4j.kernel.impl.api.index.IndexDescriptor descriptor)
public abstract Object getPropertyValue()
Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.