Class LanguageNotSupportedException
Polly exception
public class LanguageNotSupportedException : AmazonPollyException
- Inheritance
-
LanguageNotSupportedException
Constructors
LanguageNotSupportedException(Exception)
Construct instance of LanguageNotSupportedException
public LanguageNotSupportedException(Exception innerException)
Parameters
innerException
Exception
LanguageNotSupportedException(SerializationInfo, StreamingContext)
Constructs a new instance of the LanguageNotSupportedException class with serialized data.
protected LanguageNotSupportedException(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).
LanguageNotSupportedException(string)
Constructs a new LanguageNotSupportedException with the specified error message.
public LanguageNotSupportedException(string message)
Parameters
message
stringDescribes the error encountered.
LanguageNotSupportedException(string, ErrorType, string, string, HttpStatusCode)
Construct instance of LanguageNotSupportedException
public LanguageNotSupportedException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
Parameters
message
stringerrorType
ErrorTypeerrorCode
stringrequestId
stringstatusCode
HttpStatusCode
LanguageNotSupportedException(string, Exception)
Construct instance of LanguageNotSupportedException
public LanguageNotSupportedException(string message, Exception innerException)
Parameters
LanguageNotSupportedException(string, Exception, ErrorType, string, string, HttpStatusCode)
Construct instance of LanguageNotSupportedException
public LanguageNotSupportedException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
Parameters
message
stringinnerException
ExceptionerrorType
ErrorTypeerrorCode
stringrequestId
stringstatusCode
HttpStatusCode