Package tech.xmagic.exception.http
Class UnauthorizedRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
tech.xmagic.exception.AbstractRuntimeException
tech.xmagic.exception.http.UnauthorizedRuntimeException
- All Implemented Interfaces:
Serializable
未认证
直接抛出异常,由框架统一处理
错误代码401- Since:
- 2022.5.7
- Version:
- 2023.0.0
- Author:
- meng2c
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnauthorizedRuntimeException(ResultCode resultCode) UnauthorizedRuntimeException(ResultCode resultCode, String err) -
Method Summary
Methods inherited from class tech.xmagic.exception.AbstractRuntimeException
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
-
UnauthorizedRuntimeException
public UnauthorizedRuntimeException() -
UnauthorizedRuntimeException
-
UnauthorizedRuntimeException
-