Class InvalidInvitationCodeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.xezzon.zeroweb.common.exception.ZerowebBusinessException
io.github.xezzon.zeroweb.third_party_app.authn.InvalidInvitationCodeException
- All Implemented Interfaces:
Serializable
@NullMarked
public class InvalidInvitationCodeException
extends io.github.xezzon.zeroweb.common.exception.ZerowebBusinessException
邀请码已过期,或者不允许被当前用户使用
- Author:
- xezzon
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription邀请码中指定的用户不是当前用户InvalidInvitationCodeException(io.jsonwebtoken.JwtException e) 邀请码已过期 -
Method Summary
Methods inherited from class io.github.xezzon.zeroweb.common.exception.ZerowebBusinessException
getParametersMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
ERROR_CODE
-
-
Constructor Details
-
InvalidInvitationCodeException
public InvalidInvitationCodeException()邀请码中指定的用户不是当前用户 -
InvalidInvitationCodeException
public InvalidInvitationCodeException(io.jsonwebtoken.JwtException e) 邀请码已过期- Parameters:
e- JWT 已过期
-
-
Method Details
-
code
- Specified by:
codein classio.github.xezzon.zeroweb.common.exception.ZerowebBusinessException
-
httpStatus
public int httpStatus()- Overrides:
httpStatusin classio.github.xezzon.zeroweb.common.exception.ZerowebBusinessException- Returns:
- 403 错误
-