Class AmazonCryptoException
- Namespace
- Amazon.Extensions.S3.Encryption
- Assembly
- Amazon.Extensions.S3.Encryption.dll
Exception thrown by the SDK for errors that occur within the SDK for crypto operations.
[Serializable]
public class AmazonCryptoException : Exception, ISerializable, _Exception
- Inheritance
-
AmazonCryptoException
- Implements
Constructors
AmazonCryptoException(SerializationInfo, StreamingContext)
Constructs a new instance of the AmazonCryptoException class with serialized data.
protected AmazonCryptoException(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
context
StreamingContextThe StreamingContext that contains contextual information about the source or destination.
Exceptions
- ArgumentNullException
The
info
parameter is null.- SerializationException
The class name is null or HResult is zero (0).
AmazonCryptoException(string)
public AmazonCryptoException(string message)
Parameters
message
string
AmazonCryptoException(string, Exception)
public AmazonCryptoException(string message, Exception innerException)