# FormComponentTypeMismatchException

Import: `import com.install4j.api.test.exceptions.FormComponentTypeMismatchException;`

```java
public class FormComponentTypeMismatchException extends InstallerTestException
```

Thrown when a typed form component accessor (e.g. `textField(id)`) finds a form component with
the requested id but of an incompatible class.

## Constructors

| Signature | Description |
|---|---|
| [`FormComponentTypeMismatchException(String)`](#formcomponenttypemismatchexception-string) |  |

### FormComponentTypeMismatchException(String)

```java
public FormComponentTypeMismatchException(String message)
```

