Class LogUtil

java.lang.Object
de.dlr.proseo.api.prip.odata.LogUtil

public class LogUtil extends Object
Utility methods for logging and error reporting
Author:
Dr. Thomas Bassler
  • Constructor Details

    • LogUtil

      public LogUtil()
  • Method Details

    • oDataServerError

      public static org.apache.olingo.server.api.ODataServerError oDataServerError(int statusCode, String message)
      Create an ODataServerError object for the error response body from an HTTP status code and a message
      Parameters:
      statusCode - the HTTP status code to set
      message - the message to set
      Returns:
      the created ODataServerError