Package com.github.ddth.dao.utils
Class DuplicatedValueException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.github.ddth.dao.utils.DaoException
-
- com.github.ddth.dao.utils.DuplicatedValueException
-
- All Implemented Interfaces:
java.io.Serializable
public class DuplicatedValueException extends DaoException
Thrown to indicate that a storage write results in violation of primary key or unique index constraint.- Since:
- 0.8.2
- Author:
- Thanh Nguyen
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DuplicatedValueException()
DuplicatedValueException(java.lang.String message)
DuplicatedValueException(java.lang.String message, java.lang.Throwable cause)
DuplicatedValueException(java.lang.String message, java.lang.Throwable cause, boolean enableSuppression, boolean writableStackTrace)
DuplicatedValueException(java.lang.Throwable cause)
-
Method Summary
-
Methods inherited from class com.github.ddth.dao.utils.DaoException
translate
-
-
-
-
Constructor Detail
-
DuplicatedValueException
public DuplicatedValueException()
-
DuplicatedValueException
public DuplicatedValueException(java.lang.String message)
-
DuplicatedValueException
public DuplicatedValueException(java.lang.Throwable cause)
-
DuplicatedValueException
public DuplicatedValueException(java.lang.String message, java.lang.Throwable cause)
-
DuplicatedValueException
public DuplicatedValueException(java.lang.String message, java.lang.Throwable cause, boolean enableSuppression, boolean writableStackTrace)
-
-