> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cdp.coinbase.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CdpClientException

> This class serves as the base exception for all errors in the SDK.

Package: [`com.coinbase.cdp.core`](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/core/index)

```java theme={null}
public class CdpClientException extends RuntimeException
```

This class serves as the base exception for all errors in the SDK.

## Constructor Details

### `CdpClientException`

**Overload 1**

```java theme={null}
public CdpClientException(String message)
```

**Parameters:**

`message` - `String`

**Overload 2**

```java theme={null}
public CdpClientException(String message, Exception e)
```

**Parameters:**

`message` - `String`

`e` - `Exception`
