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