Package tech.xmagic.exception.http
Class ForbiddenException
java.lang.Object
java.lang.Throwable
java.lang.Exception
tech.xmagic.exception.AbstractException
tech.xmagic.exception.http.ForbiddenException
- All Implemented Interfaces:
Serializable
未授权
直接抛出异常,由框架统一处理
错误代码403- Since:
- 2022.5.7
- Version:
- 2023.0.0
- Author:
- meng2c
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionForbiddenException(ResultCode resultCode) ForbiddenException(ResultCode resultCode, String err) -
Method Summary
Methods inherited from class tech.xmagic.exception.AbstractException
getCode, getErr, getMsg, getTagMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ForbiddenException
public ForbiddenException() -
ForbiddenException
-
ForbiddenException
-