Class IllegalStatusException
- Namespace
- Amazon.EventBridge.Model
- Assembly
- AWSSDK.EventBridge.dll
An error occurred because a replay can be canceled only when the state is Running or Starting.
public class IllegalStatusException : AmazonEventBridgeException
- Inheritance
-
IllegalStatusException
Constructors
IllegalStatusException(Exception)
Construct instance of IllegalStatusException
public IllegalStatusException(Exception innerException)
Parameters
innerException
Exception
IllegalStatusException(string)
Constructs a new IllegalStatusException with the specified error message.
public IllegalStatusException(string message)
Parameters
message
stringDescribes the error encountered.
IllegalStatusException(string, ErrorType, string, string, HttpStatusCode)
Construct instance of IllegalStatusException
public IllegalStatusException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
Parameters
message
stringerrorType
ErrorTypeerrorCode
stringrequestId
stringstatusCode
HttpStatusCode
IllegalStatusException(string, Exception)
Construct instance of IllegalStatusException
public IllegalStatusException(string message, Exception innerException)
Parameters
IllegalStatusException(string, Exception, ErrorType, string, string, HttpStatusCode)
Construct instance of IllegalStatusException
public IllegalStatusException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
Parameters
message
stringinnerException
ExceptionerrorType
ErrorTypeerrorCode
stringrequestId
stringstatusCode
HttpStatusCode