NOTE: For Version 3 of the AWS SDK for PHP, please see the V3 User Guide and V3 API Reference.

# Class TypeAlreadyExistsException

Returned if the type already exists in the specified domain. You will get this fault even if the existing type is in deprecated status. You can specify another version if the intent is to create a new distinct version of the type.

  Exception
  RuntimeException
  Aws\Common\Exception\RuntimeException implements Aws\Common\Exception\AwsExceptionInterface
  Aws\Common\Exception\ServiceResponseException
  Aws\Swf\Exception\SwfException
  Aws\Swf\Exception\TypeAlreadyExistsException

Namespace: Aws\Swf\Exception
Located at Aws/Swf/Exception/TypeAlreadyExistsException.php

## Methods summary

## Methods detail

### Methods inherited from Aws\Common\Exception\ServiceResponseException

`__toString()`, `getAwsErrorCode()`, `getAwsErrorType()`, `getAwsRequestId()`, `getExceptionCode()`, `getExceptionType()`, `getRequest()`, `getRequestId()`, `getResponse()`, `getStatusCode()`, `setExceptionCode()`, `setExceptionType()`, `setRequest()`, `setRequestId()`, `setResponse()`

### Methods inherited from Exception

`__construct()`, `__wakeup()`, `getCode()`, `getFile()`, `getLine()`, `getMessage()`, `getPrevious()`, `getTrace()`, `getTraceAsString()`

### Magic methods summary

## Properties summary

### Properties inherited from Aws\Common\Exception\ServiceResponseException

`$exceptionCode`, `$exceptionType`, `$request`, `$requestId`, `$response`

### Properties inherited from Exception

`$code`, `$file`, `$line`, `$message`