Class SimpleValidationErrorException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- eu.emi.security.authn.x509.helpers.pkipath.SimpleValidationErrorException
-
- All Implemented Interfaces:
java.io.Serializable
public class SimpleValidationErrorException extends java.lang.Exception
Contains one problem code with optional arguments.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Object[]
arguments
private ValidationErrorCode
code
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description SimpleValidationErrorException(ValidationErrorCode code, java.lang.Object... arguments)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object[]
getArguments()
ValidationErrorCode
getCode()
void
setArguments(java.lang.Object[] arguments)
void
setCode(ValidationErrorCode code)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
code
private ValidationErrorCode code
-
arguments
private java.lang.Object[] arguments
-
-
Constructor Detail
-
SimpleValidationErrorException
public SimpleValidationErrorException(ValidationErrorCode code, java.lang.Object... arguments)
-
-
Method Detail
-
getCode
public ValidationErrorCode getCode()
-
setCode
public void setCode(ValidationErrorCode code)
-
getArguments
public java.lang.Object[] getArguments()
-
setArguments
public void setArguments(java.lang.Object[] arguments)
-
-