Class DataPermissionForbiddenException
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.DataPermissionForbiddenException
- All Implemented Interfaces:
Serializable
数据权限不足异常。
错误码:C0007
- Author:
- xezzon
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDataPermissionForbiddenException(String groupId, String userId, String permission) 构造器。 -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
ERROR_CODE
-
-
Constructor Details
-
DataPermissionForbiddenException
-
-
Method Details
-
code
Description copied from class:ZerowebBusinessException业务异常的错误码。- Specified by:
codein classZerowebBusinessException- Returns:
- 错误码字符串
-
httpStatus
public int httpStatus()该错误返回 403 HTTP 状态码- Overrides:
httpStatusin classZerowebBusinessException- Returns:
- HTTP状态码
-