Class InvalidResponseSitecoreLayoutServiceClientException
Version: 21.x
Details an exception that may occur when the Sitecore layout service returns an invalid response.
Inheritance
System.Object
InvalidResponseSitecoreLayoutServiceClientException
Namespace: Sitecore.LayoutService.Client.Exceptions
Assembly: Sitecore.LayoutService.Client.Abstractions.dll
Syntax
RequestResponse
public class InvalidResponseSitecoreLayoutServiceClientException : SitecoreLayoutServiceClientExceptionConstructors
InvalidResponseSitecoreLayoutServiceClientException()
Initializes a new instance of the InvalidResponseSitecoreLayoutServiceClientException class.
Declaration
RequestResponse
public InvalidResponseSitecoreLayoutServiceClientException()InvalidResponseSitecoreLayoutServiceClientException(Exception)
Initializes a new instance of the InvalidResponseSitecoreLayoutServiceClientException class.
Declaration
RequestResponse
public InvalidResponseSitecoreLayoutServiceClientException(Exception innerException)Parameters
| Type | Name | Description |
|---|---|---|
| System.Exception | innerException |
The inner exception to be wrapped. |
InvalidResponseSitecoreLayoutServiceClientException(String)
Initializes a new instance of the InvalidResponseSitecoreLayoutServiceClientException class.
Declaration
RequestResponse
public InvalidResponseSitecoreLayoutServiceClientException(string message)Parameters
| Type | Name | Description |
|---|---|---|
| System.String | message |
The exception message. |
InvalidResponseSitecoreLayoutServiceClientException(String, Exception)
Initializes a new instance of the InvalidResponseSitecoreLayoutServiceClientException class.
Declaration
RequestResponse
public InvalidResponseSitecoreLayoutServiceClientException(string message, Exception innerException)Parameters
| Type | Name | Description |
|---|---|---|
| System.String | message |
The exception message. |
| System.Exception | innerException |
The inner exception to be wrapped. |