Package org.bonitasoft.web.client.model
Class Error
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<String,Object>
-
- org.bonitasoft.web.client.model.Error
-
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,Object>
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class Error extends HashMap<String,Object> implements Serializable
Error- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_EXCEPTIONstatic StringJSON_PROPERTY_EXPLANATIONSstatic StringJSON_PROPERTY_MESSAGE
-
Constructor Summary
Constructors Constructor Description Error()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ErroraddExplanationsItem(String explanationsItem)booleanequals(Object o)Errorexception(String exception)Errorexplanations(List<String> explanations)StringgetException()The exception typeList<String>getExplanations()Further details on the errorStringgetMessage()The error messageinthashCode()Errormessage(String message)voidsetException(String exception)voidsetExplanations(List<String> explanations)voidsetMessage(String message)StringtoString()-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
-
-
-
Field Detail
-
JSON_PROPERTY_MESSAGE
public static final String JSON_PROPERTY_MESSAGE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EXCEPTION
public static final String JSON_PROPERTY_EXCEPTION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EXPLANATIONS
public static final String JSON_PROPERTY_EXPLANATIONS
- See Also:
- Constant Field Values
-
-
Method Detail
-
setMessage
public void setMessage(String message)
-
setException
public void setException(String exception)
-
getExplanations
@Nullable public List<String> getExplanations()
Further details on the error- Returns:
- explanations
-
equals
public boolean equals(Object o)
-
hashCode
public int hashCode()
-
toString
public String toString()
- Overrides:
toStringin classAbstractMap<String,Object>
-
-