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