# UTIL_Exceptions.ConfigurationException

**Class** · Group: `Utilities`

Learn it: [Utilities guide](/utilities-guide)

<div class="apex-member apex-class">

```apex
global inherited sharing class UTIL_Exceptions.ConfigurationException
```

Thrown when required platform configuration is absent or malformed. Typical triggers include missing custom metadata records, unset custom settings, or incompatible configuration values that prevent normal operation.

**Example**

```apex
if(credential == null)
{
    throw new UTIL_Exceptions.ConfigurationException('Named credential not found for service: ' + serviceName);
}
```

</div>

---
