public class ValidationError extends Object
ValidationResult
,
ValidationErrorListener
,
ValidationErrorCategory
Constructor and Description |
---|
ValidationError(X509Certificate[] chain,
int position,
ValidationErrorCode errorCode,
Object... params) |
Modifier and Type | Method and Description |
---|---|
X509Certificate[] |
getChain() |
ValidationErrorCategory |
getErrorCategory()
Returns a coarse grained error category.
|
ValidationErrorCode |
getErrorCode()
Gets the unique error code.
|
String |
getMessage()
Returns human readable message describing this error.
|
Object[] |
getParameters()
Gets the error parameters.
|
int |
getPosition()
Returns position in chain of the certificate causing the error.
|
static String |
makeReason(Throwable t) |
static String |
makeReasonFromStack(Throwable t) |
String |
toString() |
public ValidationError(X509Certificate[] chain, int position, ValidationErrorCode errorCode, Object... params)
public int getPosition()
public String getMessage()
public ValidationErrorCode getErrorCode()
public Object[] getParameters()
public ValidationErrorCategory getErrorCategory()
public X509Certificate[] getChain()
Copyright © 2012-2017 European Middleware Initiative. All Rights Reserved.