Package org.keycloak.representations.idm
Class ErrorRepresentation
- java.lang.Object
-
- org.keycloak.representations.idm.ErrorRepresentation
-
public class ErrorRepresentation extends Object
- Author:
- Stian Thorgersen
-
-
Constructor Summary
Constructors Constructor Description ErrorRepresentation()ErrorRepresentation(String errorMessage)ErrorRepresentation(String field, String errorMessage, Object[] params)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetErrorMessage()List<ErrorRepresentation>getErrors()StringgetField()Object[]getParams()voidsetErrorMessage(String errorMessage)voidsetErrors(List<ErrorRepresentation> errors)voidsetField(String field)voidsetParams(Object[] params)
-
-
-
Method Detail
-
getField
public String getField()
-
setField
public void setField(String field)
-
getErrorMessage
public String getErrorMessage()
-
setErrorMessage
public void setErrorMessage(String errorMessage)
-
getParams
public Object[] getParams()
-
setParams
public void setParams(Object[] params)
-
setErrors
public void setErrors(List<ErrorRepresentation> errors)
-
getErrors
public List<ErrorRepresentation> getErrors()
-
-