Table of Contents

Class InvalidIdentifierException

Namespace
TimeCockpit.Data.DataModel
Assembly
TimeCockpit.Data.dll

Represents an error because of a duplicate identifier (e.g. two columns with the same name in a single table)

public class InvalidIdentifierException : Exception, _Exception, ISerializable
Inheritance
Object
Exception
InvalidIdentifierException
Implements
_Exception
ISerializable
Inherited Members
Exception.GetBaseException()
Exception.ToString()
Exception.GetType()
Exception.Message
Exception.Data
Exception.InnerException
Exception.TargetSite
Exception.StackTrace
Exception.HelpLink
Exception.Source
Exception.HResult
Exception.SerializeObjectState
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.MemberwiseClone()

Constructors

InvalidIdentifierException()

Initializes a new instance of the InvalidIdentifierException class.

public InvalidIdentifierException()

InvalidIdentifierException(SerializationInfo, StreamingContext)

Initializes a new instance of the InvalidIdentifierException class.

protected InvalidIdentifierException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

The SerializationInfo that holds the serialized object data about the exception being thrown.

context StreamingContext

The StreamingContext that contains contextual information about the source or destination.

InvalidIdentifierException(String)

Initializes a new instance of the InvalidIdentifierException class.

public InvalidIdentifierException(string identifier)

Parameters

identifier String

The identifier that caused the exception

InvalidIdentifierException(String, Exception)

Initializes a new instance of the InvalidIdentifierException class.

public InvalidIdentifierException(string identifier, Exception innerException)

Parameters

identifier String

The identifier that caused the exception

innerException Exception

The exception that is the cause of the current exception, or a null reference if no inner exception is specified.

InvalidIdentifierException(String, String)

Initializes a new instance of the InvalidIdentifierException class.

public InvalidIdentifierException(string message, string identifier)

Parameters

message String

The error message that explains the reason for the exception.

identifier String

The identifier that caused the exception

InvalidIdentifierException(String, String, Exception)

Initializes a new instance of the InvalidIdentifierException class.

public InvalidIdentifierException(string message, string identifier, Exception innerException)

Parameters

message String

The error message that explains the reason for the exception.

identifier String

The identifier that caused the exception

innerException Exception

The exception that is the cause of the current exception, or a null reference if no inner exception is specified.

Properties

Identifier

Gets the invalid identifier

public string Identifier { get; }

Property Value

String

Methods

GetObjectData(SerializationInfo, StreamingContext)

Sets the SerializationInfo with information about the exception.

public override void GetObjectData(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

The SerializationInfo that holds the serialized object data about the exception being thrown.

context StreamingContext

The StreamingContext that contains contextual information about the source or destination.

See Also