public class ModelErrorException extends AmazonServiceException
Model (owned by the customer in the container) returned an error 500.
AmazonServiceException.ErrorType
Constructor and Description |
---|
ModelErrorException(java.lang.String message)
Constructs a new ModelErrorException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLogStreamArn()
The Amazon Resource Name (ARN) of the log stream.
|
java.lang.String |
getOriginalMessage()
Original message.
|
java.lang.Integer |
getOriginalStatusCode()
Original status code.
|
void |
setLogStreamArn(java.lang.String logStreamArn)
The Amazon Resource Name (ARN) of the log stream.
|
void |
setOriginalMessage(java.lang.String originalMessage)
Original message.
|
void |
setOriginalStatusCode(java.lang.Integer originalStatusCode)
Original status code.
|
getErrorCode, getErrorMessage, getErrorType, getMessage, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRequestId, setServiceName, setStatusCode
isRetryable
public ModelErrorException(java.lang.String message)
message
- Describes the error encountered.public java.lang.Integer getOriginalStatusCode()
Original status code.
Original status code.
public void setOriginalStatusCode(java.lang.Integer originalStatusCode)
Original status code.
originalStatusCode
- Original status code.
public java.lang.String getOriginalMessage()
Original message.
Constraints:
Length: - 2048
Original message.
public void setOriginalMessage(java.lang.String originalMessage)
Original message.
Constraints:
Length: - 2048
originalMessage
- Original message.
public java.lang.String getLogStreamArn()
The Amazon Resource Name (ARN) of the log stream.
The Amazon Resource Name (ARN) of the log stream.
public void setLogStreamArn(java.lang.String logStreamArn)
The Amazon Resource Name (ARN) of the log stream.
logStreamArn
- The Amazon Resource Name (ARN) of the log stream.
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.