All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ODataRequestException, ODataResponseException

public class ODataException extends IllegalStateException
The generic OData exception.
Its sub-types will be thrown in the following scenarios:
See Also:
  • Constructor Details

    • ODataException

      public ODataException(@Nonnull ODataRequestGeneric request, @Nonnull String message, @Nullable Throwable cause)
      Default constructor.
      Parameters:
      request - The original OData request reference.
      message - The error message.
      cause - The error cause.
  • Method Details

    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(@Nullable Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getRequest

      @Nonnull public ODataRequestGeneric getRequest()
      The OData request that was attempted while this exception occurred.