Class RepeatDataException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.xezzon.zeroweb.common.exception.ZerowebBusinessException
io.github.xezzon.zeroweb.common.exception.RepeatDataException
- All Implemented Interfaces:
Serializable
当数据重复时抛出的业务异常,通常是由于唯一键冲突导致。
错误码:C0006
- Author:
- xezzon
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ZerowebBusinessException
httpStatusMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
ERROR_CODE
-
-
Constructor Details
-
RepeatDataException
-
-
Method Details
-
code
Description copied from class:ZerowebBusinessException业务异常的错误码。- Specified by:
codein classZerowebBusinessException- Returns:
- 错误码字符串
-