# NotSupportedInElevationException

Import: `import com.install4j.api.context.NotSupportedInElevationException;`

```java
public class NotSupportedInElevationException extends RuntimeException
```

Exception that is thrown if a method is called that is not supported for elevated actions.
Actions are elevated if their "Action elevation" type is set to "Elevate to maximum available privileges" and
the "Request privileges" action has started an elevated helper process.

This exception is always declared in method signatures in the API.

## Constructors

| Signature | Description |
|---|---|
| [`NotSupportedInElevationException()`](#notsupportedinelevationexception) |  |

### NotSupportedInElevationException()

```java
public NotSupportedInElevationException()
```

