public class NoFreeAddressesInSubnetException extends AmazonServiceException
Returned if IpAddress
was not specified in the request
and there are no free IP addresses in the subnet.
AmazonServiceException.ErrorType
Constructor and Description |
---|
NoFreeAddressesInSubnetException(String message)
Constructs a new NoFreeAddressesInSubnetException with the specified error
message.
|
Modifier and Type | Method and Description |
---|---|
String |
getErrorCode()
Returns the value of the ErrorCode property for this object.
|
void |
setErrorCode(String errorCode)
Sets the value of the ErrorCode property for this object.
|
getErrorMessage, getErrorType, getMessage, getRequestId, getServiceName, getStatusCode, setErrorType, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public NoFreeAddressesInSubnetException(String message)
message
- Describes the error encountered.public String getErrorCode()
getErrorCode
in class AmazonServiceException
public void setErrorCode(String errorCode)
setErrorCode
in class AmazonServiceException
errorCode
- The new value for this object's ErrorCode property.Copyright © 2015. All rights reserved.