Interface ODataContentWriteErrorContext


public interface ODataContentWriteErrorContext
The WriteContentErrorErrorContext is the parameter for the WriteContentErrorCallback. and contains all relevant error information
  • Method Details

    • getException

      Exception getException()
      Get the exception which caused this error (as Java exception). If the cause exception is a ODataLibraryException this method will return the same exception as the getODataLibraryException() method.
      Returns:
      the exception which caused this error (as Java exception).
    • getODataLibraryException

      ODataLibraryException getODataLibraryException()
      Get the exception which caused this error (as ODataLibraryException exception). If the cause exception is an ODataLibraryException this method will return the same exception as the getException() method. If the cause exception is NOT an ODataLibraryException this method will return NULL.
      Returns:
      the cause exception if it is an ODataLibraryException otherwise this method will return NULL.