Class OpenBiServerErrorException
Represents a server error.
Thrown if Code is not 0
Inheritance
OpenBiServerErrorException
Inherited Members
- Exception.GetBaseException()
- Exception.GetObjectData(SerializationInfo, StreamingContext)
- Exception.GetType()
- Exception.ToString()
- Exception.Data
- Exception.HelpLink
- Exception.HResult
- Exception.InnerException
- Exception.Message
- Exception.Source
- Exception.StackTrace
- Exception.TargetSite
- Exception.SerializeObjectState
Namespace: BiExcellence.OpenBi.Api
Assembly: BiExcellence.OpenBi.Api.dll
Syntax
public class OpenBiServerErrorException : Exception
Constructors
OpenBiServerErrorException(IOpenBiResponse, IReadOnlyList<IOpenBiServerMessage>)
Initializes a new instance of the OpenBiServerErrorException class.
Declaration
public OpenBiServerErrorException(IOpenBiResponse response, IReadOnlyList<IOpenBiServerMessage> messages)
Parameters
Type | Name | Description |
---|---|---|
IOpenBiResponse | response | The failed response. |
IReadOnlyList<IOpenBiServerMessage> | messages | The messages returned from the server if any. |
Properties
Messages
Gets the messages returned from the server.
Declaration
public virtual IReadOnlyList<IOpenBiServerMessage> Messages { get; }
Property Value
Type | Description |
---|---|
IReadOnlyList<IOpenBiServerMessage> |
Response
Gets the failed response.
Declaration
public virtual IOpenBiResponse Response { get; }
Property Value
Type | Description |
---|---|
IOpenBiResponse |