Class ValidationErrorException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- eu.emi.security.authn.x509.helpers.pkipath.ValidationErrorException
-
- All Implemented Interfaces:
java.io.Serializable
public class ValidationErrorException extends java.lang.Exception
Wraps a list ofValidationError
- Author:
- K. Benedyczak
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ValidationErrorException()
ValidationErrorException(ValidationError e)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addError(ValidationError e)
void
addErrors(java.util.List<ValidationError> errors)
java.util.List<ValidationError>
getErrors()
void
setError(java.util.List<ValidationError> errors)
java.lang.String
toString()
-
-
-
Constructor Detail
-
ValidationErrorException
public ValidationErrorException()
-
ValidationErrorException
public ValidationErrorException(ValidationError e)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Throwable
-
getErrors
public java.util.List<ValidationError> getErrors()
-
setError
public void setError(java.util.List<ValidationError> errors)
-
addError
public void addError(ValidationError e)
-
addErrors
public void addErrors(java.util.List<ValidationError> errors)
-
-