Show / Hide Table of Contents

Class ValidationException

This exception will be thrown by validator classes when a value doesn't pass validation.

Inheritance
System.Object
System.Exception
ValidationException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Juhta.Net.Validation
Assembly: Juhta.Net.Validation.dll
Syntax
public class ValidationException : Exception, ISerializable

Constructors

| Improve this Doc View Source

ValidationException(String)

Initializes a new instance.

Declaration
public ValidationException(string message)
Parameters
Type Name Description
System.String message

Specifies an error message.

| Improve this Doc View Source

ValidationException(String, Exception)

Initializes a new instance.

Declaration
public ValidationException(string message, Exception innerException)
Parameters
Type Name Description
System.String message

Specifies an error message.

System.Exception innerException

Specifies an inner exception.

Implements

System.Runtime.Serialization.ISerializable
  • Improve this Doc
  • View Source
Back to top Copyright © 2017-2019 Juha Lähteenmäki
Generated by DocFX