Class InvalidDataException

    • Constructor Summary

      Constructors 
      Constructor Description
      InvalidDataException​(java.lang.String message, java.lang.String errorCode, java.lang.String entityType)
      Constructor to create InvalidDataException
      InvalidDataException​(java.lang.String message, java.lang.String errorCode, java.lang.Throwable e, java.lang.String entityType)
      Constructor to create InvalidDataException
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getEntityType()  
      • 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

      • InvalidDataException

        public InvalidDataException​(java.lang.String message,
                                    java.lang.String errorCode,
                                    java.lang.String entityType)
        Constructor to create InvalidDataException
        Parameters:
        message - error message
        errorCode - error code
      • InvalidDataException

        public InvalidDataException​(java.lang.String message,
                                    java.lang.String errorCode,
                                    java.lang.Throwable e,
                                    java.lang.String entityType)
        Constructor to create InvalidDataException
        Parameters:
        message - error message
        errorCode - error code
        e - exception to get Message from
        entityType - entityTypeName for the current EdmEntityType that is under concern
    • Method Detail

      • getEntityType

        public java.lang.String getEntityType()