/// <summary> /// Initializes a new instance of the <see cref="HazelcastException"/> class with a reference to /// the inner exception that is the cause of this exception. /// </summary> /// <param name="error">The client protocol error.</param> /// <param name="innerException">The exception that is the cause of the current exception, or a null /// reference if no inner exception is specified.</param> /// <param name="retryable">Whether the operation that threw the exception can be retried.</param> public RemoteException(RemoteError error, Exception innerException, bool retryable = false) : base(error.ToString(), innerException) { Error = error; Retryable = retryable; }