Show / Hide Table of Contents

Namespace TheXDS.MCART.Exceptions

Classes

ClassNotInstantiableException

Exception that is thrown when it's not possible to create an instance of a class.

EmptyCollectionException

Exception that is thrown when a collection is empty when a method required it to have at lest one element.

EmptyStackException

Exception that is thrown when an attempt to remove an item from an empty stack is performed.

IncompleteTypeException

Exception that is thrown whenever a type is incomplete; that is, if it is missing some required members or annotations; or if a type generation process wasn't completed.

InvalidArgumentException

Exception that is thrown when an argument has an invalid value, and no other inheritors of ArgumentException properly describes the error.

InvalidMethodSignatureException

Exception that is thrown when the signature of a MethodInfo is invalid in the required context.

InvalidReturnValueException

Exception that is thrown when it's detected that a function returned an incorrect value without generating an exception itself.

InvalidTypeException

Exception that is thrown when referencing an invalid type.

InvalidUriException

Exception that is thrown when an Uri does not point to a valid resource.

MissingResourceException

Exception that is thrown when a required resource could not be found.

MissingTypeException

Exception that is thrown when a required type is not found.

NullItemException

Exception that is thrown when an element in a collection is unexpectedly equal to null.

OffendingException<T>

Describes an Exception that is thrown when a problem has been found with an object, as well as being a base class for exceptions that include information on the object or value that caused them.

TamperException

Exception that is thrown by a supported method under one of the following circumstances:

  • Return values being altered unexpectedly.
  • Internal object state corruption.
  • Function return value outside the expected/possible range.
  • Memory corruption not captured by the CLR.
  • External modification of internal values in a type.
  • Unexpected access to private methods in a type.
  • Dereference of null in places known to not have a possible reference to null.
  • Escapes in parameter validation.
In this article
Back to top Generated by DocFX