Ejemplo n.º 1
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 FetchEnvelopeCountResponse(Guid requestId, PiException exception)
     : base(requestId, exception)
 {
 }
Ejemplo 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)
 {
 }
Ejemplo 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)
 {
 }
Ejemplo 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)
 {
 }
Ejemplo 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());
 }
Ejemplo n.º 6
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 PushSignCheckCookieResponse(Guid requestId, PiException exception)
     : base(requestId, exception)
 {
 }
Ejemplo 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)
 {
 }
Ejemplo 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)
 {
 }
Ejemplo 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)
 {
 }
Ejemplo 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)
 {
 }
Ejemplo n.º 14
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 FetchPartialDecipherResponse(Guid requestId, PiException exception)
     : base(requestId, exception)
 {
 }
Ejemplo n.º 15
0
 public FetchSignCheckListResponse(Guid requestId, PiException exception)
     : base(requestId, exception)
 {
 }
Ejemplo 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)
 {
 }
Ejemplo 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)
 {
 }
Ejemplo 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)
 {
 }
Ejemplo 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)
 {
 }
Ejemplo 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;
 }
Ejemplo n.º 21
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 FetchSignatureResponseResponse(Guid requestId, PiException exception)
     : base(requestId, exception)
 {
 }
Ejemplo 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)
 {
 }