

## Exceptions

| Exception | Description |
| --- | --- |
| [AccessViolationException](../com.aspose.zip.exceptions/accessviolationexception) | The exception that is thrown when there is an attempt to read or write protected memory. |
| [AmbiguousMatchException](../com.aspose.zip.exceptions/ambiguousmatchexception) | The exception that is thrown when binding to a member results in more than one member matching the binding criteria. |
| [ApplicationException](../com.aspose.zip.exceptions/applicationexception) | Serves as the base class for application-defined exceptions. |
| [ArgumentException](../com.aspose.zip.exceptions/argumentexception) | The exception that is thrown when one of the arguments provided to a method is not valid. |
| [ArgumentNullException](../com.aspose.zip.exceptions/argumentnullexception) | The exception that is thrown when a null reference is passed to a method that does not accept it as a valid argument. |
| [ArgumentOutOfRangeException](../com.aspose.zip.exceptions/argumentoutofrangeexception) | The exception that is thrown when the value of an argument is outside the allowable range of values as defined by the invoked method. |
| [ArithmeticException](../com.aspose.zip.exceptions/arithmeticexception) | The exception that is thrown for errors in an arithmetic, casting, or conversion operation. |
| [ArrayTypeMismatchException](../com.aspose.zip.exceptions/arraytypemismatchexception) | The exception that is thrown when an attempt is made to store an element of the wrong type within an array. |
| [CookieException](../com.aspose.zip.exceptions/cookieexception) | The exception that is thrown when an error is made adding a Cookie to a CookieContainer. |
| [CryptographicException](../com.aspose.zip.exceptions/cryptographicexception) | The exception that is thrown when an error occurs during a cryptographic operation. |
| [CryptographicUnexpectedOperationException](../com.aspose.zip.exceptions/cryptographicunexpectedoperationexception) | The exception that is thrown when an unexpected operation occurs during a cryptographic operation. |
| [DecoderFallbackException](../com.aspose.zip.exceptions/decoderfallbackexception) | The exception that is thrown when a decoder fallback operation fails. |
| [DirectoryNotFoundException](../com.aspose.zip.exceptions/directorynotfoundexception) | The exception that is thrown when part of a file or directory cannot be found. |
| [DivideByZeroException](../com.aspose.zip.exceptions/dividebyzeroexception) | The exception that is thrown when there is an attempt to divide an integral value by zero. |
| [EncoderFallbackException](../com.aspose.zip.exceptions/encoderfallbackexception) | The exception that is thrown when an encoder fallback operation fails. |
| [EndOfStreamException](../com.aspose.zip.exceptions/endofstreamexception) | The exception that is thrown when reading is attempted past the end of a stream. |
| [Exception](../com.aspose.zip.exceptions/exception) | Represents errors that occur during application execution. |
| [ExternalException](../com.aspose.zip.exceptions/externalexception) | The base exception type for all COM interop exceptions and structured exception handling (SEH) exceptions. |
| [FieldAccessException](../com.aspose.zip.exceptions/fieldaccessexception) | The exception that is thrown when there is an invalid attempt to access a private or protected field inside a class. |
| [FileNotFoundException](../com.aspose.zip.exceptions/filenotfoundexception) | The exception that is thrown when an attempt to access a file that does not exist on disk fails. |
| [FormatException](../com.aspose.zip.exceptions/formatexception) | The exception that is thrown when the format of an argument is invalid, or when a composite format string is not well formed. |
| [IndexOutOfRangeException](../com.aspose.zip.exceptions/indexoutofrangeexception) | The exception that is thrown when an attempt is made to access an element of an array or collection with an index that is outside its bounds. |
| [InvalidCastException](../com.aspose.zip.exceptions/invalidcastexception) | The exception that is thrown for invalid casting or explicit conversion. |
| [InvalidDataException](../com.aspose.zip.exceptions/invaliddataexception) | The exception that is thrown when a data stream is in an invalid format. |
| [InvalidEnumArgumentException](../com.aspose.zip.exceptions/invalidenumargumentexception) | The exception that is thrown when an invalid enumeration value is used. |
| [InvalidOperationException](../com.aspose.zip.exceptions/invalidoperationexception) | The exception that is thrown when a method call is invalid for the object's current state. |
| [InvalidPrinterException](../com.aspose.zip.exceptions/invalidprinterexception) | Represents the exception that is thrown when you try to access a printer using printer settings that are not valid. |
| [IOException](../com.aspose.zip.exceptions/ioexception) | The exception that is thrown when an I/O error occurs. |
| [KeyNotFoundException](../com.aspose.zip.exceptions/keynotfoundexception) | The exception that is thrown when the key specified for accessing an element in a collection does not match any key in the collection. |
| [MemberAccessException](../com.aspose.zip.exceptions/memberaccessexception) | The exception that is thrown when an attempt to access a class member fails. |
| [MissingManifestResourceException](../com.aspose.zip.exceptions/missingmanifestresourceexception) | The exception that is thrown if the package does not contain the resources for the neutral culture. |
| [MulticastNotSupportedException](../com.aspose.zip.exceptions/multicastnotsupportedexception) | The exception that is thrown when there is an attempt to combine two delegates based on the Delegate type instead of the MulticastDelegate type. |
| [NotImplementedException](../com.aspose.zip.exceptions/notimplementedexception) | The exception that is thrown when a requested method or operation is not implemented. |
| [NotSupportedException](../com.aspose.zip.exceptions/notsupportedexception) | The exception that is thrown when an invoked method is not supported, or when there is an attempt to read, seek, or write to a stream that does not support the invoked functionality. |
| [NullReferenceException](../com.aspose.zip.exceptions/nullreferenceexception) | The exception that is thrown when there is an attempt to dereference a null object reference. |
| [ObjectDisposedException](../com.aspose.zip.exceptions/objectdisposedexception) | The exception that is thrown when an operation is performed on a disposed object. |
| [OperationCanceledException](../com.aspose.zip.exceptions/operationcanceledexception) | The exception that is thrown in a thread upon cancellation of an operation that the thread was executing. |
| [OutOfMemoryException](../com.aspose.zip.exceptions/outofmemoryexception) | The exception that is thrown when there is not enough memory to continue the execution of a program. |
| [OverflowException](../com.aspose.zip.exceptions/overflowexception) | The exception that is thrown when an arithmetic, casting, or conversion operation in a checked context results in an overflow. |
| [ProtocolViolationException](../com.aspose.zip.exceptions/protocolviolationexception) | The exception that is thrown when an error is made while using a network protocol. |
| [RankException](../com.aspose.zip.exceptions/rankexception) | The exception that is thrown when an array with the wrong number of dimensions is passed to a method. |
| [SecurityException](../com.aspose.zip.exceptions/securityexception) | The exception that is thrown when a security error is detected. |
| [SerializationException](../com.aspose.zip.exceptions/serializationexception) | The exception thrown when an error occurs during serialization or deserialization. |
| [SocketException](../com.aspose.zip.exceptions/socketexception) | The exception that is thrown when a socket error occurs. |
| [SynchronizationLockException](../com.aspose.zip.exceptions/synchronizationlockexception) | The exception that is thrown when a method requires the caller to own the lock on a given Monitor, and the method is invoked by a caller that does not own that lock. |
| [SystemException](../com.aspose.zip.exceptions/systemexception) | Serves as the base class for system exceptions. |
| [TargetException](../com.aspose.zip.exceptions/targetexception) | Represents the exception that is thrown when an attempt is made to invoke an invalid target. |
| [TargetInvocationException](../com.aspose.zip.exceptions/targetinvocationexception) | The exception that is thrown by methods invoked through reflection. |
| [TargetParameterCountException](../com.aspose.zip.exceptions/targetparametercountexception) | The exception that is thrown when the number of parameters for an invocation does not match the number expected. |
| [ThreadAbortException](../com.aspose.zip.exceptions/threadabortexception) | The exception that is thrown when a call is made to the Abort(Object) method. |
| [ThreadInterruptedException](../com.aspose.zip.exceptions/threadinterruptedexception) | The exception that is thrown when a Thread is interrupted while it is in a waiting state. |
| [ThreadStateException](../com.aspose.zip.exceptions/threadstateexception) | The exception that is thrown when a Thread is in an invalid ThreadState for the method call. |
| [TypeLoadException](../com.aspose.zip.exceptions/typeloadexception) | The exception that is thrown when type-loading failures occur. |
| [UpaException](../com.aspose.zip.exceptions/upaexception) | UPA violations will throw this exception. |
| [UriFormatException](../com.aspose.zip.exceptions/uriformatexception) | The exception that is thrown when an invalid Uniform Resource Identifier (URI) is detected. |
| [WebException](../com.aspose.zip.exceptions/webexception) | The exception that is thrown when an error occurs while accessing the network through a pluggable protocol. |
| [Win32Exception](../com.aspose.zip.exceptions/win32exception) | Throws an exception for a Win32 error code. |
| [XmlException](../com.aspose.zip.exceptions/xmlexception) | Returns detailed information about the last exception. |
| [XmlSchemaException](../com.aspose.zip.exceptions/xmlschemaexception) | Returns detailed information about the schema exception. |
| [XmlSchemaValidationException](../com.aspose.zip.exceptions/xmlschemavalidationexception) | Represents the exception thrown when XML Schema Definition Language (XSD) schema validation errors and warnings are encountered in an XML document being validated. |
| [XPathException](../com.aspose.zip.exceptions/xpathexception) | Provides the exception thrown when an error occurs while processing an XPath expression. |
