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