

## Undantag

| Undantag | Beskrivning |
| --- | --- |
| [AccessViolationException](../com.aspose.zip.exceptions/accessviolationexception) | Undantaget som kastas när ett försök görs att läsa eller skriva skyddat minne. |
| [AmbiguousMatchException](../com.aspose.zip.exceptions/ambiguousmatchexception) | Undantaget som kastas när bindning till en medlem resulterar i att fler än en medlem matchar bindningskriterierna. |
| [ApplicationException](../com.aspose.zip.exceptions/applicationexception) | Fungerar som basklass för applikationsdefinierade undantag. |
| [ArgumentException](../com.aspose.zip.exceptions/argumentexception) | Undantaget som kastas när ett av argumenten som tillhandahålls till en metod inte är giltigt. |
| [ArgumentNullException](../com.aspose.zip.exceptions/argumentnullexception) | Undantaget som kastas när en null-referens skickas till en metod som inte accepterar den som ett giltigt argument. |
| [ArgumentOutOfRangeException](../com.aspose.zip.exceptions/argumentoutofrangeexception) | Undantaget som kastas när värdet på ett argument ligger utanför det tillåtna värdeintervallet som definieras av den anropade metoden. |
| [ArithmeticException](../com.aspose.zip.exceptions/arithmeticexception) | Undantaget som kastas för fel i en aritmetisk, typkonverterings- eller omvandlingsoperation. |
| [ArrayTypeMismatchException](../com.aspose.zip.exceptions/arraytypemismatchexception) | Undantaget som kastas när ett försök görs att lagra ett element av fel typ i en array. |
| [CookieException](../com.aspose.zip.exceptions/cookieexception) | Undantaget som kastas när ett fel uppstår vid tillägg av en Cookie till en CookieContainer. |
| [CryptographicException](../com.aspose.zip.exceptions/cryptographicexception) | Undantaget som kastas när ett fel uppstår under en kryptografisk operation. |
| [CryptographicUnexpectedOperationException](../com.aspose.zip.exceptions/cryptographicunexpectedoperationexception) | Undantaget som kastas när en oväntad operation inträffar under en kryptografisk operation. |
| [DecoderFallbackException](../com.aspose.zip.exceptions/decoderfallbackexception) | Undantaget som kastas när en avkodningsfallback-operation misslyckas. |
| [DirectoryNotFoundException](../com.aspose.zip.exceptions/directorynotfoundexception) | Undantaget som kastas när en del av en fil eller katalog inte kan hittas. |
| [DivideByZeroException](../com.aspose.zip.exceptions/dividebyzeroexception) | Undantaget som kastas när ett försök görs att dividera ett heltalsvärde med noll. |
| [EncoderFallbackException](../com.aspose.zip.exceptions/encoderfallbackexception) | Undantaget som kastas när en kodningsfallback-operation misslyckas. |
| [EndOfStreamException](../com.aspose.zip.exceptions/endofstreamexception) | Undantaget som kastas när läsning försöks efter slutet på en ström. |
| [Exception](../com.aspose.zip.exceptions/exception) | Representerar fel som uppstår under programkörning. |
| [ExternalException](../com.aspose.zip.exceptions/externalexception) | Basundantagstypen för alla COM-interoperabilitetsundantag och strukturerade undantagshanterings‑undantag (SEH). |
| [FieldAccessException](../com.aspose.zip.exceptions/fieldaccessexception) | Undantaget som kastas när ett ogiltigt försök görs att komma åt ett privat eller skyddat fält i en klass. |
| [FileNotFoundException](../com.aspose.zip.exceptions/filenotfoundexception) | Undantaget som kastas när ett försök att komma åt en fil som inte finns på disken misslyckas. |
| [FormatException](../com.aspose.zip.exceptions/formatexception) | Undantaget som kastas när formatet på ett argument är ogiltigt, eller när en sammansatt formatsträng inte är korrekt formad. |
| [IndexOutOfRangeException](../com.aspose.zip.exceptions/indexoutofrangeexception) | Undantaget som kastas när ett försök görs att komma åt ett element i en array eller samling med ett index som ligger utanför dess gränser. |
| [InvalidCastException](../com.aspose.zip.exceptions/invalidcastexception) | Undantaget som kastas för ogiltig typkonvertering eller explicit omvandling. |
| [InvalidDataException](../com.aspose.zip.exceptions/invaliddataexception) | Undantaget som kastas när en datastream är i ett ogiltigt format. |
| [InvalidEnumArgumentException](../com.aspose.zip.exceptions/invalidenumargumentexception) | Undantaget som kastas när ett ogiltigt uppräkningsvärde används. |
| [InvalidOperationException](../com.aspose.zip.exceptions/invalidoperationexception) | Undantaget som kastas när ett metodanrop är ogiltigt för objektets nuvarande tillstånd. |
| [InvalidPrinterException](../com.aspose.zip.exceptions/invalidprinterexception) | Representerar undantaget som kastas när du försöker komma åt en skrivare med skrivarinställningar som inte är giltiga. |
| [IOException](../com.aspose.zip.exceptions/ioexception) | Undantaget som kastas när ett I/O‑fel inträffar. |
| [KeyNotFoundException](../com.aspose.zip.exceptions/keynotfoundexception) | Undantaget som kastas när den nyckel som angivits för att komma åt ett element i en samling inte matchar någon nyckel i samlingen. |
| [MemberAccessException](../com.aspose.zip.exceptions/memberaccessexception) | Undantaget som kastas när ett försök att komma åt en klassmedlem misslyckas. |
| [MissingManifestResourceException](../com.aspose.zip.exceptions/missingmanifestresourceexception) | Undantaget som kastas om paketet inte innehåller resurserna för den neutrala kulturen. |
| [MulticastNotSupportedException](../com.aspose.zip.exceptions/multicastnotsupportedexception) | Undantaget som kastas när ett försök görs att kombinera två delegater baserat på Delegate‑typen istället för MulticastDelegate‑typen. |
| [NotImplementedException](../com.aspose.zip.exceptions/notimplementedexception) | Undantaget som kastas när en begärd metod eller operation inte är implementerad. |
| [NotSupportedException](../com.aspose.zip.exceptions/notsupportedexception) | Undantaget som kastas när en anropad metod inte stöds, eller när ett försök görs att läsa, söka eller skriva till en ström som inte stödjer den anropade funktionaliteten. |
| [NullReferenceException](../com.aspose.zip.exceptions/nullreferenceexception) | Undantaget som kastas när ett försök görs att dereferera en null‑objektreferens. |
| [ObjectDisposedException](../com.aspose.zip.exceptions/objectdisposedexception) | Undantaget som kastas när en operation utförs på ett borttaget objekt. |
| [OperationCanceledException](../com.aspose.zip.exceptions/operationcanceledexception) | Undantaget som kastas i en tråd vid avbrytning av en operation som tråden körde. |
| [OutOfMemoryException](../com.aspose.zip.exceptions/outofmemoryexception) | Undantaget som kastas när det inte finns tillräckligt med minne för att fortsätta exekveringen av ett program. |
| [OverflowException](../com.aspose.zip.exceptions/overflowexception) | Undantaget som kastas när en aritmetisk, typkonverterings‑ eller omvandlingsoperation i ett kontrollerat sammanhang resulterar i ett overflow. |
| [ProtocolViolationException](../com.aspose.zip.exceptions/protocolviolationexception) | Undantaget som kastas när ett fel uppstår vid användning av ett nätverksprotokoll. |
| [RankException](../com.aspose.zip.exceptions/rankexception) | Undantaget som kastas när en array med fel antal dimensioner skickas till en metod. |
| [SecurityException](../com.aspose.zip.exceptions/securityexception) | Undantaget som kastas när ett säkerhetsfel upptäcks. |
| [SerializationException](../com.aspose.zip.exceptions/serializationexception) | Undantaget som kastas när ett fel uppstår under serialisering eller deserialisering. |
| [SocketException](../com.aspose.zip.exceptions/socketexception) | Undantaget som kastas när ett socket-fel inträffar. |
| [SynchronizationLockException](../com.aspose.zip.exceptions/synchronizationlockexception) | Undantaget som kastas när en metod kräver att anroparen äger låset på en given Monitor, och metoden anropas av en anropar som inte äger låset. |
| [SystemException](../com.aspose.zip.exceptions/systemexception) | Fungerar som basklass för systemundantag. |
| [TargetException](../com.aspose.zip.exceptions/targetexception) | Representerar undantaget som kastas när ett försök görs att anropa ett ogiltigt mål. |
| [TargetInvocationException](../com.aspose.zip.exceptions/targetinvocationexception) | Undantaget som kastas av metoder som anropas via reflektion. |
| [TargetParameterCountException](../com.aspose.zip.exceptions/targetparametercountexception) | Undantaget som kastas när antalet parametrar för ett anrop inte matchar det förväntade antalet. |
| [ThreadAbortException](../com.aspose.zip.exceptions/threadabortexception) | Undantaget som kastas när ett anrop görs till metoden Abort(Object). |
| [ThreadInterruptedException](../com.aspose.zip.exceptions/threadinterruptedexception) | Undantaget som kastas när en tråd avbryts medan den är i vänteläge. |
| [ThreadStateException](../com.aspose.zip.exceptions/threadstateexception) | Undantaget som kastas när en tråd är i ett ogiltigt ThreadState för metodanropet. |
| [TypeLoadException](../com.aspose.zip.exceptions/typeloadexception) | Undantaget som kastas när typ-laddningsfel inträffar. |
| [UpaException](../com.aspose.zip.exceptions/upaexception) | UPA-överträdelser kommer att kasta detta undantag. |
| [UriFormatException](../com.aspose.zip.exceptions/uriformatexception) | Undantaget som kastas när en ogiltig Uniform Resource Identifier (URI) upptäcks. |
| [WebException](../com.aspose.zip.exceptions/webexception) | Undantaget som kastas när ett fel uppstår vid åtkomst till nätverket via ett plug-in-protokoll. |
| [Win32Exception](../com.aspose.zip.exceptions/win32exception) | Kastar ett undantag för en Win32-felkod. |
| [XmlException](../com.aspose.zip.exceptions/xmlexception) | Returnerar detaljerad information om det senaste undantaget. |
| [XmlSchemaException](../com.aspose.zip.exceptions/xmlschemaexception) | Returnerar detaljerad information om schemaundantaget. |
| [XmlSchemaValidationException](../com.aspose.zip.exceptions/xmlschemavalidationexception) | Representerar undantaget som kastas när XML Schema Definition Language (XSD)-schemavalideringsfel och varningar påträffas i ett XML-dokument som valideras. |
| [XPathException](../com.aspose.zip.exceptions/xpathexception) | Tillhandahåller undantaget som kastas när ett fel uppstår vid bearbetning av ett XPath-uttryck. |
