ValidationException Class

The exception that is thrown when an attempted operation failed due to validation criteria not being met.
Inheritance Hierarchy
SystemObject
  SystemException
    Dundas.BIValidationException
      Dundas.BI.NotificationsTooManyRecipientsException

Namespace: Dundas.BI
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.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 propertyDetailsGets a list of specific messages corresponding to reasons for the validation failure.
Top
Methods
 NameDescription
Public methodToStringCreates and returns a string representation of the current exception.
(Overrides ExceptionToString)
Top
Extension Methods
 NameDescription
Public Extension MethodGetDetailsMessageGets the details message associated with an Exception.
(Defined by ExceptionExtensions)
Public Extension MethodGetErrorCodeGets the error code associated with an Exception.
(Defined by ExceptionExtensions)
Public Extension MethodGetHelpTopicReferenceGets the help topic reference associated with an Exception.
(Defined by ExceptionExtensions)
Public Extension MethodGetSupplementalMessageGets the supplemental message associated with an Exception.
(Defined by ExceptionExtensions)
Public Extension MethodSetAsDisplayExceptionMarks 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