Package de.dlr.proseo.api.prip.odata
Class LogUtil
java.lang.Object
de.dlr.proseo.api.prip.odata.LogUtil
Utility methods for logging and error reporting
- Author:
- Dr. Thomas Bassler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.olingo.server.api.ODataServerErroroDataServerError(int statusCode, String message) Create an ODataServerError object for the error response body from an HTTP status code and a message
-
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 setmessage- the message to set- Returns:
- the created ODataServerError
-