Skip to content

UTIL_Exceptions.ConfigurationException

Class · Group: Utilities

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.

Since: 1.0

Example:

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