Package fr.gouv.vitam.common.model
Class RequestResponseError
- java.lang.Object
-
- fr.gouv.vitam.common.model.RequestResponseStorage
-
- fr.gouv.vitam.common.model.RequestResponseError
-
public class RequestResponseError extends RequestResponseStorage
Storage RequestResponseError class contains error list
-
-
Constructor Summary
Constructors Constructor Description RequestResponseError()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VitamError
getError()
RequestResponseError
setError(VitamError error)
RequestResponseError constructorjava.lang.String
toString()
-
Methods inherited from class fr.gouv.vitam.common.model.RequestResponseStorage
getQuery, getResult, setQuery, setResult
-
-
-
-
Method Detail
-
getError
public VitamError getError()
- Returns:
- the error of the RequestResponseError
-
setError
public RequestResponseError setError(VitamError error)
RequestResponseError constructor- Parameters:
error
- the error message of type VitamError which will be setted for RequestResponseError- Returns:
- this
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-