LogicError Class |
Namespace: Entelect.ErrorHandling
public abstract class LogicError
The LogicError type exposes the following members.
Name | Description | |
---|---|---|
![]() | LogicError |
Creates an instance of the logic error class.
Logic errors are represents errors that can safely be displayed to the user.
This is so that they know why something has gone wrong, instead of seeing a general error page and can possibly correct themselves.
You can also use logic errors to validate multiple aspects of a class,
collect all the validation errors and return them at once instead of throwing a single exception for each
|
Name | Description | |
---|---|---|
![]() | AsException |
Creates an instance of the LogicException class with this logic error contained in it
|
![]() | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Throw |
Creates an instance of the LogicException class with this logic error contained in it and throws it as an exception.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |