Class ODataWebException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ODataWebException
    extends OData2ServicesException
    This exception wraps a thrown ODataException Will result in HttpStatus 500
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ODataWebException​(java.lang.String message, org.apache.olingo.odata2.api.exception.ODataException cause)
      Constructor to create ODataWebException
    • 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

      • ODataWebException

        public ODataWebException​(java.lang.String message,
                                 org.apache.olingo.odata2.api.exception.ODataException cause)
        Constructor to create ODataWebException
        Parameters:
        message - message indicating the cause of this exception
        cause - ODataException that was thrown