---
schema_version: "1"
id: 37fee00a0e79a83ed95f9a44cfb97dd3f16fb6262825d750d7501a3ca2931f61
title: Compression Exceptions
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_exceptions_compression.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_exceptions_compression.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 88178ae1da9f1071e65f564fbbc7d83530c3b05b9dd895341a6586d781c2374f
description: The Compression namespace contains exception classes.
---
# Compression Exceptions

The Compression namespace contains exception classes.

All exception classes support built-in methods for returning the error message and exception type. See [Exception Class and Built-In Exceptions](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_classes_exception_methods.htm "An exception denotes an error that disrupts the normal flow of code execution. You can use Apex built-in exceptions or create custom exceptions. All exceptions have common methods.").

The Compression namespace contains this exception:

| Exception | Description |
| --- | --- |
| Compression.ZipException | Any problem with the zip operations, such as a zip entry name isn’t found. |