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

  Modifier and Type
  Method
  Description
  `VitamError`
  `getError()`
  `RequestResponseError`
  `setError(VitamError error)`
  RequestResponseError constructor
  `String`
  `toString()`

  ### Methods inherited from class fr.gouv.vitam.common.model.RequestResponseStorage

  `getQuery, getResult, setQuery, setResult`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### RequestResponseError

    public RequestResponseError()

- ## Method Details

  - ### 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 String toString()
    Overrides:
      `toString` in class `Object`