ValidationException Class

The exception that is thrown when an attempted operation failed due to validation criteria not being met.
Inheritance Hierarchy

Namespace:  Dundas.BI
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
public class ValidationException : Exception

The ValidationException type exposes the following members.

Constructors
  NameDescription
Public methodValidationException
Initializes a new instance of the ValidationException class using a generic error message.
Public methodValidationException(String)
Initializes a new instance of the ValidationException class with a specified error message.
Public methodValidationException(String, IEnumerableString)
Initializes a new instance of the ValidationException class with a list of specific messages corresponding to the validation failures.
Public methodValidationException(String, Exception)
Initializes a new instance of the ValidationException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Top
Properties
  NameDescription
Public propertyDetails
Gets a list of specific messages corresponding to reasons for the validation failure.
Top
Methods
Extension Methods
  NameDescription
Public Extension MethodGetDetailsMessage
Gets the details message associated with an Exception.
(Defined by ExceptionExtensions.)
Public Extension MethodGetErrorCode
Gets the error code associated with an Exception.
(Defined by ExceptionExtensions.)
Public Extension MethodGetHelpTopicReference
Gets the help topic reference associated with an Exception.
(Defined by ExceptionExtensions.)
Public Extension MethodGetSupplementalMessage
Gets the supplemental message associated with an Exception.
(Defined by ExceptionExtensions.)
Public Extension MethodSetAsDisplayException
Marks the exception as the "display" exception.
(Defined by ExceptionExtensions.)
Public Extension MethodSetDetailsMessage
Sets the details message on an exception object.
(Defined by ExceptionExtensions.)
Public Extension MethodSetErrorCode
Sets the error code on an exception object.
(Defined by ExceptionExtensions.)
Public Extension MethodSetHelpTopicReference
Sets an associated help topic reference on an exception object.
(Defined by ExceptionExtensions.)
Public Extension MethodSetSupplementalMessage
Sets the supplemental message on an exception object.
(Defined by ExceptionExtensions.)
Top
See Also