org.neo4j.graphdb
Class ConstraintViolationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.neo4j.graphdb.ConstraintViolationException
- All Implemented Interfaces:
- Serializable
public class ConstraintViolationException
- extends RuntimeException
Thrown when the database is asked to modify data in a way that violates one or more
constraints that it is expected to uphold.
For instance, if removing a node that still has relationships.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ConstraintViolationException
public ConstraintViolationException(String msg)
ConstraintViolationException
public ConstraintViolationException(String msg,
Throwable cause)
Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.