Class ResponseErrorUtils

java.lang.Object
fr.gouv.vitam.functional.administration.utils.ResponseErrorUtils

public class ResponseErrorUtils extends Object
  • Constructor Details

    • ResponseErrorUtils

      public ResponseErrorUtils()
  • Method Details

    • getErrorEntity

      public static VitamError<SchemaResponse> getErrorEntity(javax.ws.rs.core.Response.Status status, String message, String context)
      Construct the error following input
      Parameters:
      status - Http error status
      message - The functional error message, if absent the http reason phrase will be used instead
      Returns: