Class SitecoreLayoutServiceClientException

Version: 21.x

Details an exception that may occur when communicating with the Sitecore layout service.

Namespace: Sitecore.LayoutService.Client.Exceptions
Assembly: Sitecore.LayoutService.Client.Abstractions.dll
Syntax
RequestResponse
public class SitecoreLayoutServiceClientException : Exception

Constructors

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
TypeNameDescription
System.ExceptioninnerException

The inner exception to be wrapped.

SitecoreLayoutServiceClientException(String)

Initializes a new instance of the SitecoreLayoutServiceClientException class.

Declaration
RequestResponse
public SitecoreLayoutServiceClientException(string message)
Parameters
TypeNameDescription
System.Stringmessage

The exception message.

SitecoreLayoutServiceClientException(String, Exception)

Initializes a new instance of the SitecoreLayoutServiceClientException class.

Declaration
RequestResponse
public SitecoreLayoutServiceClientException(string message, Exception innerException)
Parameters
TypeNameDescription
System.Stringmessage

The exception message.

System.ExceptioninnerException

The inner exception to be wrapped.

Do you have some feedback for us?

If you have suggestions for improving this article,