public class ValidateException extends CustomException
验证异常
主要使用到的场景有: 1 在进行业务校验逻辑时出现问题errorCode
Constructor and Description |
---|
ValidateException() |
ValidateException(int errorCode,
String message) |
ValidateException(String message) |
ValidateException(String message,
Throwable cause) |
ValidateException(String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace) |
ValidateException(Throwable cause) |
getErrorCode, setErrorCode
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Copyright © 2021. All rights reserved.