@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DefaultBranchCannotBeDeletedException extends AWSCodeCommitException
The specified branch is the default branch for the repository, and cannot be deleted. To delete this branch, you must first set another branch as the default branch.
AmazonServiceException.ErrorType
Constructor and Description |
---|
DefaultBranchCannotBeDeletedException(String message)
Constructs a new DefaultBranchCannotBeDeletedException with the specified error message.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DefaultBranchCannotBeDeletedException(String message)
message
- Describes the error encountered.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.