eu.emi.security.authn.x509.helpers.pkipath
Class ValidationErrorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by eu.emi.security.authn.x509.helpers.pkipath.ValidationErrorException
All Implemented Interfaces:
Serializable

public class ValidationErrorException
extends Exception

Wraps a list of ValidationError

Author:
K. Benedyczak
See Also:
Serialized Form

Constructor Summary
ValidationErrorException()
           
ValidationErrorException(ValidationError e)
           
 
Method Summary
 void addError(ValidationError e)
           
 void addErrors(List<ValidationError> errors)
           
 List<ValidationError> getErrors()
           
 void setError(List<ValidationError> errors)
           
 String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ValidationErrorException

public ValidationErrorException()

ValidationErrorException

public ValidationErrorException(ValidationError e)
Method Detail

toString

public String toString()
Overrides:
toString in class Throwable

getErrors

public List<ValidationError> getErrors()

setError

public void setError(List<ValidationError> errors)

addError

public void addError(ValidationError e)

addErrors

public void addErrors(List<ValidationError> errors)


Copyright © 2012-2013 European Middleware Initiative. All Rights Reserved.