Class MessagingException
A class representing an error during transport of a MessageEndpoint based replication
Inheritance
System.Object
System.Exception
MessagingException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Couchbase.Lite.P2P
Assembly: Couchbase.Lite.dll
Syntax
public sealed class MessagingException : Exception, ISerializable
Remarks
NOTE: This is an enterprise edition feature
Constructors
| Improve this Doc View SourceMessagingException(String, Exception, Boolean)
Constructs an error object
Declaration
public MessagingException(string message, Exception innerError, bool isRecoverable)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that this exception should display |
System.Exception | innerError | The detailed error that occurred |
System.Boolean | isRecoverable | Whether or not the error is recoverable |
Remarks
NOTE: This is an enterprise edition feature
Properties
| Improve this Doc View SourceIsRecoverable
Gets whether or not the exception is recoverable. If it is, then the library will try again according to its retry strategy.
Declaration
public bool IsRecoverable { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
NOTE: This is an enterprise edition feature
Implements
System.Runtime.Serialization.ISerializable