com.aspose.tasks.exceptions

Exceptions

ExceptionDescription
AccessViolationExceptionThe exception that is thrown when there is an attempt to read or write protected memory.
AmbiguousMatchExceptionThe exception that is thrown when binding to a member results in more than one member matching the binding criteria.
ApplicationExceptionServes as the base class for application-defined exceptions.
ArgumentExceptionThe exception that is thrown when one of the arguments provided to a method is not valid.
ArgumentNullExceptionThe exception that is thrown when a null reference is passed to a method that does not accept it as a valid argument.
ArgumentOutOfRangeExceptionThe exception that is thrown when the value of an argument is outside the allowable range of values as defined by the invoked method.
ArithmeticExceptionThe exception that is thrown for errors in an arithmetic, casting, or conversion operation.
ArrayTypeMismatchExceptionThe exception that is thrown when an attempt is made to store an element of the wrong type within an array.
CookieExceptionThe exception that is thrown when an error is made adding a Cookie to a CookieContainer.
CryptographicExceptionThe exception that is thrown when an error occurs during a cryptographic operation.
CryptographicUnexpectedOperationExceptionThe exception that is thrown when an unexpected operation occurs during a cryptographic operation.
DecoderFallbackExceptionThe exception that is thrown when a decoder fallback operation fails.
DirectoryNotFoundExceptionThe exception that is thrown when part of a file or directory cannot be found.
DivideByZeroExceptionThe exception that is thrown when there is an attempt to divide an integral value by zero.
EncoderFallbackExceptionThe exception that is thrown when an encoder fallback operation fails.
EndOfStreamExceptionThe exception that is thrown when reading is attempted past the end of a stream.
ExceptionRepresents errors that occur during application execution.
ExternalExceptionThe base exception type for all COM interop exceptions and structured exception handling (SEH) exceptions.
FieldAccessExceptionThe exception that is thrown when there is an invalid attempt to access a private or protected field inside a class.
FileNotFoundExceptionThe exception that is thrown when an attempt to access a file that does not exist on disk fails.
FormatExceptionThe exception that is thrown when the format of an argument is invalid, or when a composite format string is not well formed.
IndexOutOfRangeExceptionThe 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.
InvalidCastExceptionThe exception that is thrown for invalid casting or explicit conversion.
InvalidDataExceptionThe exception that is thrown when a data stream is in an invalid format.
InvalidEnumArgumentExceptionThe exception that is thrown when an invalid enumeration value is used.
InvalidOperationExceptionThe exception that is thrown when a method call is invalid for the object’s current state.
InvalidPrinterExceptionRepresents the exception that is thrown when you try to access a printer using printer settings that are not valid.
IOExceptionThe exception that is thrown when an I/O error occurs.
KeyNotFoundExceptionThe exception that is thrown when the key specified for accessing an element in a collection does not match any key in the collection.
MemberAccessExceptionThe exception that is thrown when an attempt to access a class member fails.
MissingManifestResourceExceptionThe exception that is thrown if the package does not contain the resources for the neutral culture.
MulticastNotSupportedExceptionThe exception that is thrown when there is an attempt to combine two delegates based on the Delegate type instead of the MulticastDelegate type.
NotImplementedExceptionThe exception that is thrown when a requested method or operation is not implemented.
NotSupportedExceptionThe 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.
NullReferenceExceptionThe exception that is thrown when there is an attempt to dereference a null object reference.
ObjectDisposedExceptionThe exception that is thrown when an operation is performed on a disposed object.
OperationCanceledExceptionThe exception that is thrown in a thread upon cancellation of an operation that the thread was executing.
OutOfMemoryExceptionThe exception that is thrown when there is not enough memory to continue the execution of a program.
OverflowExceptionThe exception that is thrown when an arithmetic, casting, or conversion operation in a checked context results in an overflow.
ProtocolViolationExceptionThe exception that is thrown when an error is made while using a network protocol.
RankExceptionThe exception that is thrown when an array with the wrong number of dimensions is passed to a method.
SecurityExceptionThe exception that is thrown when a security error is detected.
SerializationExceptionThe exception thrown when an error occurs during serialization or deserialization.
SocketExceptionThe exception that is thrown when a socket error occurs.
SynchronizationLockExceptionThe 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.
SystemExceptionServes as the base class for system exceptions.
TargetExceptionRepresents the exception that is thrown when an attempt is made to invoke an invalid target.
TargetInvocationExceptionThe exception that is thrown by methods invoked through reflection.
TargetParameterCountExceptionThe exception that is thrown when the number of parameters for an invocation does not match the number expected.
ThreadAbortExceptionThe exception that is thrown when a call is made to the Abort(Object) method.
ThreadInterruptedExceptionThe exception that is thrown when a Thread is interrupted while it is in a waiting state.
ThreadStateExceptionThe exception that is thrown when a Thread is in an invalid ThreadState for the method call.
TypeLoadExceptionThe exception that is thrown when type-loading failures occur.
UpaExceptionUPA violations will throw this exception.
UriFormatExceptionThe exception that is thrown when an invalid Uniform Resource Identifier (URI) is detected.
WebExceptionThe exception that is thrown when an error occurs while accessing the network through a pluggable protocol.
Win32ExceptionThrows an exception for a Win32 error code.
XmlExceptionReturns detailed information about the last exception.
XmlSchemaExceptionReturns detailed information about the schema exception.
XmlSchemaValidationExceptionRepresents the exception thrown when XML Schema Definition Language (XSD) schema validation errors and warnings are encountered in an XML document being validated.
XPathExceptionProvides the exception thrown when an error occurs while processing an XPath expression.