# OvokConnectionException

Canonical page: https://docs.ovok.com/java-sdk/reference/ovok-connection-exception

```java
public final class OvokConnectionException extends OvokException
```

Extends [`OvokException`](/java-sdk/reference/ovok-exception), and inherits its methods.

Thrown when the SDK cannot reach the Ovok API or a paged read is interrupted.

## Constructors [#constructors]

### OvokConnectionException [#ovokconnectionexception]

```java
public OvokConnectionException(String message, Throwable cause)
```

Creates the exception.

**Parameters:**

- `message`: what failed
- `cause`: the underlying error
