Class DVDVAuthenticationException
Wird geworfen, wenn der Authentifizierungsversuch aus fachlichen Gruenden gescheitert ist und der Authentisierungs-Server einen HTTP-Response-Code liefert, der einen Fehler anzeigt.
Inheritance
Implements
Inherited Members
Namespace: Dvdv.Api.Exception
Assembly: Dvdv.dll
Syntax
[Serializable]
[ExcludeFromCodeCoverage]
public class DVDVAuthenticationException : DVDVHttpException, ISerializable
Constructors
| Edit this page View SourceDVDVAuthenticationException(HttpStatusCode, Uri, Rfc7807Problem)
Initializes a new instance of the DVDVHttpException class.
Declaration
public DVDVAuthenticationException(HttpStatusCode statusCode, Uri responseUrl, Rfc7807Problem rfc7807Problem)
Parameters
| Type | Name | Description |
|---|---|---|
| HttpStatusCode | statusCode | StatusCode der HTTP-Response, siehe https://developer.mozilla.org/de/docs/Web/HTTP/Status |
| Uri | responseUrl | URL, bei deren Aufruf der Fehler aufgetreten ist |
| Rfc7807Problem | rfc7807Problem | The RFC7807 problem. |
DVDVAuthenticationException(HttpStatusCode, Uri, bool, string)
Initialisiert eine neue Instanz der Exception
Declaration
public DVDVAuthenticationException(HttpStatusCode statusCode, Uri responseUrl, bool detectedExceptionInfoContainer, string message)
Parameters
| Type | Name | Description |
|---|---|---|
| HttpStatusCode | statusCode | StatusCode der HTTP-Response, siehe https://developer.mozilla.org/de/docs/Web/HTTP/Status |
| Uri | responseUrl | URL, bei deren Aufruf der Fehler aufgetreten ist |
| bool | detectedExceptionInfoContainer | JSON-Error-Response im proprietären Kernsystem-Format erkannt |
| string | message | Die Fehlernachricht |
DVDVAuthenticationException(HttpStatusCode, Uri, SerializationInfo, StreamingContext)
Initialisiert eine neue Instanz der Exception
Declaration
public DVDVAuthenticationException(HttpStatusCode statusCode, Uri responseUrl, SerializationInfo info, StreamingContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| HttpStatusCode | statusCode | StatusCode der HTTP-Response, siehe https://developer.mozilla.org/de/docs/Web/HTTP/Status |
| Uri | responseUrl | URL, bei deren Aufruf der Fehler aufgetreten ist |
| SerializationInfo | info | Die SerializationInfo |
| StreamingContext | context | Der StreamingContext |
DVDVAuthenticationException(HttpStatusCode, Uri, string, Exception)
Initialisiert eine neue Instanz der Exception
Declaration
public DVDVAuthenticationException(HttpStatusCode statusCode, Uri responseUrl, string message, Exception innerException)
Parameters
| Type | Name | Description |
|---|---|---|
| HttpStatusCode | statusCode | StatusCode der HTTP-Response, siehe https://developer.mozilla.org/de/docs/Web/HTTP/Status |
| Uri | responseUrl | URL, bei deren Aufruf der Fehler aufgetreten ist |
| string | message | Die Fehlernachricht |
| Exception | innerException | Die ursprüngliche Exception |