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 String
getErrorMessage()
List<ErrorRepresentation>
getErrors()
String
getField()
Object[]
getParams()
void
setErrorMessage(String errorMessage)
void
setErrors(List<ErrorRepresentation> errors)
void
setField(String field)
void
setParams(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()
-
-