Class SimpleValidationErrorException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- eu.emi.security.authn.x509.helpers.pkipath.SimpleValidationErrorException
-
- All Implemented Interfaces:
Serializable
public class SimpleValidationErrorException extends Exception
Contains one problem code with optional arguments.- Author:
- K. Benedyczak
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SimpleValidationErrorException(ValidationErrorCode code, Object... arguments)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object[]
getArguments()
ValidationErrorCode
getCode()
void
setArguments(Object[] arguments)
void
setCode(ValidationErrorCode code)
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
SimpleValidationErrorException
public SimpleValidationErrorException(ValidationErrorCode code, Object... arguments)
-
-
Method Detail
-
getCode
public ValidationErrorCode getCode()
-
setCode
public void setCode(ValidationErrorCode code)
-
getArguments
public Object[] getArguments()
-
setArguments
public void setArguments(Object[] arguments)
-
-