Class OData2ServicesException

    • Constructor Summary

      Constructors 
      Constructor Description
      OData2ServicesException​(java.lang.String message, org.apache.olingo.odata2.api.commons.HttpStatusCodes status)
      Constructor to create OData2ServicesException
      OData2ServicesException​(java.lang.String message, org.apache.olingo.odata2.api.commons.HttpStatusCodes status, java.lang.String errorCode)
      Constructor to create OData2ServicesException
      OData2ServicesException​(java.lang.String message, org.apache.olingo.odata2.api.commons.HttpStatusCodes status, java.lang.String errorCode, java.lang.Throwable e)
      Constructor to create OData2ServicesException
    • Method Summary

      • Methods inherited from class org.apache.olingo.odata2.api.exception.ODataRuntimeApplicationException

        getCode, getHttpStatus, getLocale
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • OData2ServicesException

        public OData2ServicesException​(java.lang.String message,
                                       org.apache.olingo.odata2.api.commons.HttpStatusCodes status)
        Constructor to create OData2ServicesException
        Parameters:
        message - error message for the response
        status - response status code
      • OData2ServicesException

        public OData2ServicesException​(java.lang.String message,
                                       org.apache.olingo.odata2.api.commons.HttpStatusCodes status,
                                       java.lang.String errorCode)
        Constructor to create OData2ServicesException
        Parameters:
        message - error message for the response
        status - response status code
        errorCode - error code
      • OData2ServicesException

        public OData2ServicesException​(java.lang.String message,
                                       org.apache.olingo.odata2.api.commons.HttpStatusCodes status,
                                       java.lang.String errorCode,
                                       java.lang.Throwable e)
        Constructor to create OData2ServicesException
        Parameters:
        message - error message for the response
        status - response status code
        errorCode - error code
        e - exception that was thrown