Class DVDVHttpException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DVDVAuthenticationException

public class DVDVHttpException extends DVDVIOException
Wird geworfen, wenn ein Aufruf gelingt, aber der Server einen HTTP-Response-Code liefert, der einen Fehler anzeigt.
Entspricht in etwa der DVDV1-Klasse de.dvdv.http.DVDVHttpException.
See Also:
  • Constructor Details

    • DVDVHttpException

      public DVDVHttpException(int code, URL url, boolean detectedExceptionInfoContainer, String message)
      Parameters:
      code - HTTP-Response Code, etwa 404 oder 500.
    • DVDVHttpException

      public DVDVHttpException(int code, URL url, Rfc7807Problem rfc7807Problem)
  • Method Details

    • getRfc7807Problem

      public final Rfc7807Problem getRfc7807Problem()
      null oder Inhalt der Error-Response gemäß RFC7807
      Returns:
      null oder Inhat der Error-Response gemäß RFC7807
    • getCode

      public final int getCode()
      HTTP response code
      Returns:
      HTTP response code.
    • isBackendErrorResponse

      public final boolean isBackendErrorResponse()
      Returns:
      true, falls die ErrorResponse als vom Kernsystem kommend erkannt wurde.