public class ValidatorException extends StatusException
构造器和说明 |
---|
ValidatorException(int code,
java.lang.String message,
java.lang.annotation.Annotation annotation,
Result result) |
ValidatorException(int code,
java.lang.String message,
java.lang.annotation.Annotation annotation,
Result result,
java.lang.reflect.Method method) |
限定符和类型 | 方法和说明 |
---|---|
java.lang.annotation.Annotation |
getAnnotation()
获取触发的注解
|
java.lang.reflect.Method |
getMethod()
获取触发函数
|
Result |
getResult()
获取结果
|
getCode
public ValidatorException(int code, java.lang.String message, java.lang.annotation.Annotation annotation, Result result)
public ValidatorException(int code, java.lang.String message, java.lang.annotation.Annotation annotation, Result result, java.lang.reflect.Method method)
public java.lang.reflect.Method getMethod()
public java.lang.annotation.Annotation getAnnotation()
public Result getResult()