ResourceInvalidStateException Class

Thrown if internal processes are trying to use a resource that is in an invalid state. This exception should not be thrown if we're halting invalid input.

Definition

Namespace: MobileTrack.Common.Models.Exceptions
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public sealed class ResourceInvalidStateException : Exception
Inheritance
Object    Exception    ResourceInvalidStateException

Remarks

This exception should never happen; it is a last resort to prevent internal processes from using a resource that is in an invalid state, or worse, corrupting the database. If this exception is thrown, a ticket must be made to resolve the bug.

Constructors

Properties

ValidationModel Validation model describing why the resource is in an invalid state

See Also