Click or drag to resize

EAPNullArgException Class

A replacement class for the .Net ArgumentNullException that supports a developer message.
Inheritance Hierarchy

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public class EAPNullArgException : ArgumentNullException, 
	IEAPExtendedException

The EAPNullArgException type exposes the following members.

Constructors
  NameDescription
Public methodEAPNullArgException
Standard constructor.
Top
Properties
  NameDescription
Public propertyData
Gets a collection of key/value pairs that provide additional user-defined information about the exception.
(Inherited from Exception.)
Public propertyDeveloperMessage
Gets/sets any developer-specific message content.
Public propertyDoNotLogToRequestLog
Specifies that this exception does not need to be logged to xot_request_log. Note that it DOES NOT prevent the error from being logged as part of normal request logging. It DOES, however, prevent special logging of continuable errors that occur in the middle of a request. The primary example of this is a custom validation error raised during a WizardNext event. See DoNotLogToRequestLog.
Public propertyHelpLink
Gets or sets a link to the help file associated with this exception.
(Inherited from Exception.)
Protected propertyHResult
Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception.
(Inherited from Exception.)
Public propertyInnerException
Gets the Exception instance that caused the current exception.
(Inherited from Exception.)
Public propertyIsSensitive
Specifies whether this exception, or any of its inner exceptions, may contain sensitive information that should be suppressed when when UnhandledErrorSuppressions is enabled. See IsSensitive.
Public propertyMessage
Gets the error message and the parameter name, or only the error message if no parameter name is set.
(Inherited from ArgumentException.)
Public propertyParamName
Gets the name of the parameter that causes this exception.
(Inherited from ArgumentException.)
Public propertySource
Gets or sets the name of the application or the object that causes the error.
(Inherited from Exception.)
Public propertyStackTrace
Gets a string representation of the immediate frames on the call stack.
(Inherited from Exception.)
Public propertySuppressInner
Specifies whether or not any inner exceptions should be suppressed when generating a non-developer user error message. See SuppressInner.
Public propertyTargetSite
Gets the method that throws the current exception.
(Inherited from Exception.)
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetBaseException
When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions.
(Inherited from Exception.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetObjectData
Sets the SerializationInfo object with the parameter name and additional exception information.
(Inherited from ArgumentException.)
Public methodGetType
Gets the runtime type of the current instance.
(Inherited from Exception.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Creates and returns a string representation of the current exception.
(Inherited from Exception.)
Top
Events
  NameDescription
Protected eventSerializeObjectState
Occurs when an exception is serialized to create an exception state object that contains serialized data about the exception.
(Inherited from Exception.)
Top
Extension Methods
  NameDescription
Public Extension MethodContainsException
Determines whether or not the exception or one of its nested internal exceptions is of the specified exception type. For example: bool isAuth = ex.ContainsException(typeof(System.Security.Authentication.AuthenticationException));
(Defined by ExceptionExtensions.)
Public Extension MethodDeveloperMessage
Gets any developer-specific message content from DeveloperMessage.
(Defined by ExceptionExtensions.)
Public Extension MethodEqualValue
Determines if the object value is equal to another object. If the two objects are null, then this returns true. There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways). If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.)
Public Extension MethodIsAuthenticationException
Determines if the exception or one of its nested internal exceptions is an authentication exception. Currently only AuthenticationException is recognized.
(Defined by ExceptionExtensions.)
Public Extension MethodIsDBException
Determines if the exception is a database provider originated exception. Currently only SqlException is recognized.
(Defined by ExceptionExtensions.)
Public Extension MethodMayRequireSuppression
Determines whether this exception, (or any of its inner exceptions if considerEntireExceptionStack is specified), may contain sensitive information that should be suppressed when when UnhandledErrorSuppression is enabled. Currently exceptions where IsDBException(Exception) is true and EAPException exceptions with IsSensitive set are considered to require suppression.
(Defined by ExceptionExtensions.)
Public Extension MethodSuppressInner
Gets whether or not this exception has been marked to suppress inner exceptions when generating a non-developer user error messages. See SuppressInner.
(Defined by ExceptionExtensions.)
Public Extension MethodVerboseMessage
Gets a verbose string representation of the exception. The string is intended to look just like the standard .Net Exception.ToString() output except that it includes DeveloperMessage, if any, if the exception implements the IEAPExtendedException interface (as does the EAPException class used as the base class for most platform exceptions). As with the standard .Net Exception.ToString() method, the returned string will include the stack trace and the verbose message for any internal exceptions (recursively).
(Defined by ExceptionExtensions.)
Top
See Also