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 : InvalidResponseSitecoreLayoutServiceClientException

Constructors

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

The inner exception to be wrapped.

SitecoreLayoutServiceServerException(String)

Initializes a new instance of the SitecoreLayoutServiceServerException class.

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

The exception message.

SitecoreLayoutServiceServerException(String, Exception)

Initializes a new instance of the SitecoreLayoutServiceServerException class.

Declaration
RequestResponse
public SitecoreLayoutServiceServerException(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,