Class AcmeRequestException
The exception that is thrown when an error occurs while processing ACME operations.
Inheritance
Namespace: Certes
Assembly: Certes.dll
Syntax
[Serializable]
public class AcmeRequestException : AcmeException, ISerializable
Constructors
| Edit this page View SourceAcmeRequestException()
Initializes a new instance of the AcmeRequestException class.
Declaration
public AcmeRequestException()
AcmeRequestException(SerializationInfo, StreamingContext)
Initializes a new instance of the AcmeRequestException class.
Declaration
protected AcmeRequestException(SerializationInfo info, StreamingContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| SerializationInfo | info | The SerializationInfo that holds the serialized object data about the exception being thrown. |
| StreamingContext | context | The StreamingContext that contains contextual information about the source or destination. |
AcmeRequestException(string)
Initializes a new instance of the AcmeRequestException class.
Declaration
public AcmeRequestException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The message that describes the error. |
AcmeRequestException(string, AcmeError)
Initializes a new instance of the AcmeException class.
Declaration
public AcmeRequestException(string message, AcmeError error)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The message that describes the error. |
| AcmeError | error | The error occurred while processing ACME operations. |
AcmeRequestException(string, Exception)
Initializes a new instance of the AcmeRequestException class.
Declaration
public AcmeRequestException(string message, Exception innerException)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The error message that explains the reason for the exception. |
| Exception | innerException | The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. |
Properties
| Edit this page View SourceError
Gets the error occurred while processing ACME operations.
Declaration
public AcmeError Error { get; }
Property Value
| Type | Description |
|---|---|
| AcmeError | The error occurred while processing ACME operations. |
Message
Gets a message that describes the current exception.
Declaration
public override string Message { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
| Edit this page View SourceGetObjectData(SerializationInfo, StreamingContext)
Sets the SerializationInfo with information about the exception.
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| SerializationInfo | info | The SerializationInfo that holds the serialized object data about the exception being thrown. |
| StreamingContext | context | The StreamingContext that contains contextual information about the source or destination. |