Click or drag to resize
LogicError 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
Inheritance Hierarchy
SystemObject
  Entelect.ErrorHandlingLogicError
    Entelect.ErrorHandlingArgumentNullError

Namespace: Entelect.ErrorHandling
Assembly: Entelect (in Entelect.dll) Version: 0.0.79
Syntax
C#
public abstract class LogicError

The LogicError type exposes the following members.

Constructors
  NameDescription
Protected methodLogicError
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
Top
Methods
  NameDescription
Public methodAsException
Creates an instance of the LogicException class with this logic error contained in it
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodThrow
Creates an instance of the LogicException class with this logic error contained in it and throws it as an exception.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyMessage
The message to display to the end user of the system
Top
See Also