/// <summary>
 /// Create a failure response to request.
 /// </summary>
 /// <param name="requestId">Id of the request.</param>
 /// <param name="exception">Exception that occured when executing the request.</param>
 public FetchEnvelopeCountResponse(Guid requestId, PiException exception)
     : base(requestId, exception)
 {
 }
Esempio n. 2
0
 /// <summary>
 /// Create a failure response to request.
 /// </summary>
 /// <param name="requestId">Id of the request.</param>
 /// <param name="exception">Exception that occured when executing the request.</param>
 public VotingStatusResponse(Guid requestId, PiException exception)
     : base(requestId, exception)
 {
 }
Esempio n. 3
0
 /// <summary>
 /// Create a failure response to request.
 /// </summary>
 /// <param name="requestId">Id of the request.</param>
 /// <param name="exception">Exception that occured when executing the request.</param>
 public KeepAliveResponse(Guid requestId, PiException exception)
     : base(requestId, exception)
 {
 }
Esempio n. 4
0
 /// <summary>
 /// Create a failure response to request.
 /// </summary>
 /// <param name="requestId">Id of the request.</param>
 /// <param name="exception">Exception that occured when executing the request.</param>
 public ListVotingIdsResponse(Guid requestId, PiException exception)
     : base(requestId, exception)
 {
 }
Esempio n. 5
0
 /// <summary>
 /// Deserializes binary data to object.
 /// </summary>
 /// <param name="context">Context for deserialization</param>
 protected override void Deserialize(DeserializeContext context, byte version)
 {
     base.Deserialize(context, version);
       Exception = context.ReadBoolean() ? null : PiException.FromBinary(context.ReadBytes());
 }
 /// <summary>
 /// Create a failure response to request.
 /// </summary>
 /// <param name="requestId">Id of the request.</param>
 /// <param name="exception">Exception that occured when executing the request.</param>
 public PushSignCheckCookieResponse(Guid requestId, PiException exception)
     : base(requestId, exception)
 {
 }
Esempio n. 7
0
 /// <summary>
 /// Create a failure response to request.
 /// </summary>
 /// <param name="requestId">Id of the request.</param>
 /// <param name="exception">Exception that occured when executing the request.</param>
 public PushEnvelopeResponse(Guid requestId, PiException exception)
     : base(requestId, exception)
 {
 }
 /// <summary>
 /// Create a failure response to request.
 /// </summary>
 /// <param name="requestId">Id of the request.</param>
 /// <param name="exception">Exception that occured when executing the request.</param>
 public FetchAuthorityCertificatesResponse(Guid requestId, PiException exception)
     : base(requestId, exception)
 {
 }
Esempio n. 9
0
 /// <summary>
 /// Create a failure response to request.
 /// </summary>
 /// <param name="requestId">Id of the request.</param>
 /// <param name="exception">Exception that occured when executing the request.</param>
 public FetchParametersResponse(Guid requestId, PiException exception)
     : base(requestId, exception)
 {
 }
Esempio n. 10
0
 /// <summary>
 /// Create a failure response to request.
 /// </summary>
 /// <param name="requestId">Id of the request.</param>
 /// <param name="exception">Exception that occured when executing the request.</param>
 public FetchAllSharesResponse(Guid requestId, PiException exception)
     : base(requestId, exception)
 {
 }
Esempio n. 11
0
 /// <summary>
 /// Create a failure response to request.
 /// </summary>
 /// <param name="requestId">Id of the request.</param>
 /// <param name="exception">Exception that occured when executing the request.</param>
 public FetchStatsResponse(Guid requestId, PiException exception)
     : base(requestId, exception)
 {
 }
 /// <summary>
 /// Create a failure response to request.
 /// </summary>
 /// <param name="requestId">Id of the request.</param>
 /// <param name="exception">Exception that occured when executing the request.</param>
 public FetchVotingMaterialVoterResponse(Guid requestId, PiException exception)
     : base(requestId, exception)
 {
 }
 /// <summary>
 /// Create a failure response to request.
 /// </summary>
 /// <param name="requestId">Id of the request.</param>
 /// <param name="exception">Exception that occured when executing the request.</param>
 public FetchCertificateStorageResponse(Guid requestId, PiException exception)
     : base(requestId, exception)
 {
 }
 /// <summary>
 /// Create a failure response to request.
 /// </summary>
 /// <param name="requestId">Id of the request.</param>
 /// <param name="exception">Exception that occured when executing the request.</param>
 public FetchPartialDecipherResponse(Guid requestId, PiException exception)
     : base(requestId, exception)
 {
 }
Esempio n. 15
0
 public FetchSignCheckListResponse(Guid requestId, PiException exception)
     : base(requestId, exception)
 {
 }
Esempio n. 16
0
 /// <summary>
 /// Create a failure response to request.
 /// </summary>
 /// <param name="requestId">Id of the request.</param>
 /// <param name="exception">Exception that occured when executing the request.</param>
 public FetchAuthorityListResponse(Guid requestId, PiException exception)
     : base(requestId, exception)
 {
 }
Esempio n. 17
0
 /// <summary>
 /// Create a failure response to request.
 /// </summary>
 /// <param name="requestId">Id of the request.</param>
 /// <param name="exception">Exception that occured when executing the request.</param>
 public CreateVotingResponse(Guid requestId, PiException exception)
     : base(requestId, exception)
 {
 }
Esempio n. 18
0
 /// <summary>
 /// Create a failure response to request.
 /// </summary>
 /// <param name="requestId">Id of the request.</param>
 /// <param name="exception">Exception that occured when executing the request.</param>
 public PushSharesResponse(Guid requestId, PiException exception)
     : base(requestId, exception)
 {
 }
Esempio n. 19
0
 /// <summary>
 /// Create a failure response to request.
 /// </summary>
 /// <param name="requestId">Id of the request.</param>
 /// <param name="exception">Exception that occured when executing the request.</param>
 public FetchConfigResponse(Guid requestId, PiException exception)
     : base(requestId, exception)
 {
 }
Esempio n. 20
0
 /// <summary>
 /// Creates a new RPC error response from an ecxception.
 /// </summary>
 /// <param name="requestId">Id of the request.</param>
 /// <param name="exception">Exception to respond with.</param>
 public RpcResponse(Guid requestId, PiException exception)
     : base(requestId)
 {
     Exception = exception;
 }
 /// <summary>
 /// Create a failure response to request.
 /// </summary>
 /// <param name="requestId">Id of the request.</param>
 /// <param name="exception">Exception that occured when executing the request.</param>
 public FetchSignatureResponseResponse(Guid requestId, PiException exception)
     : base(requestId, exception)
 {
 }
Esempio n. 22
0
 /// <summary>
 /// Create a failure response to request.
 /// </summary>
 /// <param name="requestId">Id of the request.</param>
 /// <param name="exception">Exception that occured when executing the request.</param>
 public EchoResponse(Guid requestId, PiException exception)
     : base(requestId, exception)
 {
 }