Class BadRequestException
A generic error indicating a failure with a client request.
public class BadRequestException : AmazonFSxException
- Inheritance
-
BadRequestException
Constructors
BadRequestException(Exception)
Construct instance of BadRequestException
public BadRequestException(Exception innerException)
Parameters
innerException
Exception
BadRequestException(string)
Constructs a new BadRequestException with the specified error message.
public BadRequestException(string message)
Parameters
message
stringDescribes the error encountered.
BadRequestException(string, ErrorType, string, string, HttpStatusCode)
Construct instance of BadRequestException
public BadRequestException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
Parameters
message
stringerrorType
ErrorTypeerrorCode
stringrequestId
stringstatusCode
HttpStatusCode
BadRequestException(string, Exception)
Construct instance of BadRequestException
public BadRequestException(string message, Exception innerException)
Parameters
BadRequestException(string, Exception, ErrorType, string, string, HttpStatusCode)
Construct instance of BadRequestException
public BadRequestException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
Parameters
message
stringinnerException
ExceptionerrorType
ErrorTypeerrorCode
stringrequestId
stringstatusCode
HttpStatusCode