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