public class ValidationTargetException extends ValidationDeclarationException
ValidationTarget
defined by the
targets
property of the annotation can't be applied to the
annotated element.ValidationTarget
,
Serialized FormConstructor and Description |
---|
ValidationTargetException(Annotation annotation,
ValidationTarget target)
Constructs a new
ValidationTargetException with the
specified annotation and target. |
getAnnotation
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ValidationTargetException(Annotation annotation, ValidationTarget target)
ValidationTargetException
with the
specified annotation and target.annotation
- Validation
annotation.target
- ValidationTarget
constant.Copyright © 2011–2020 FoxLabs. All rights reserved.