Package edu.caltech.nanodb.relations
Class ConstraintViolationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- edu.caltech.nanodb.server.NanoDBException
-
- edu.caltech.nanodb.relations.ConstraintViolationException
-
- All Implemented Interfaces:
java.io.Serializable
public class ConstraintViolationException extends NanoDBException
This exception is used to signal when a database constraint is violated.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConstraintViolationException()
ConstraintViolationException(java.lang.String msg)
ConstraintViolationException(java.lang.String msg, java.lang.Throwable cause)
ConstraintViolationException(java.lang.Throwable cause)
-
-
-
Constructor Detail
-
ConstraintViolationException
public ConstraintViolationException()
-
ConstraintViolationException
public ConstraintViolationException(java.lang.String msg)
-
ConstraintViolationException
public ConstraintViolationException(java.lang.Throwable cause)
-
ConstraintViolationException
public ConstraintViolationException(java.lang.String msg, java.lang.Throwable cause)
-
-