Class PathInfoInvalidException

  • All Implemented Interfaces:
    java.io.Serializable

    public class PathInfoInvalidException
    extends java.lang.RuntimeException
    An exception that occurs when the incoming HttpServletRequest method is not supported by the ODataRequest.
    See Also:
    ODataHttpMethod, Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      PathInfoInvalidException​(java.lang.String requestUri, org.apache.olingo.odata2.api.exception.ODataException cause)
      Constructor to create PathInfoInvalidException
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getRequestUri()
      Retrieves the request URI from the HttpServletRequest that failed to parse
      • 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

      • PathInfoInvalidException

        public PathInfoInvalidException​(java.lang.String requestUri,
                                        org.apache.olingo.odata2.api.exception.ODataException cause)
        Constructor to create PathInfoInvalidException
        Parameters:
        requestUri - HttpServletRequest requestURI
        cause - ODataException that occurred while attempting to build the PathInfo from the requestUri
    • Method Detail

      • getRequestUri

        public java.lang.String getRequestUri()
        Retrieves the request URI from the HttpServletRequest that failed to parse
        Returns:
        String with the URI