C# Class Lykke.Service.Regulation.Core.Exceptions.DuplicateKeyException

Inheritance: Exception
Mostrar archivo Open project: LykkeCity/Lykke.Service.Regulation

Public Methods

Method Description
DuplicateKeyException ( ) : System

Initializes a new instance of the DuplicateKeyException class.

DuplicateKeyException ( string message ) : System

Initializes a new instance of the DuplicateKeyException class with a specified error message.

DuplicateKeyException ( string message, Exception innerException ) : System

Initializes a new instance of the DuplicateKeyException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Protected Methods

Method Description
DuplicateKeyException ( SerializationInfo info, StreamingContext context ) : System

Initializes a new instance of the DuplicateKeyException class with serialized data.

Method Details

DuplicateKeyException() public method

Initializes a new instance of the DuplicateKeyException class.
public DuplicateKeyException ( ) : System
return System

DuplicateKeyException() protected method

Initializes a new instance of the DuplicateKeyException class with serialized data.
protected DuplicateKeyException ( SerializationInfo info, StreamingContext context ) : System
info SerializationInfo The that holds the serialized object data about the exception being thrown.
context StreamingContext The that contains contextual information about the source or destination.
return System

DuplicateKeyException() public method

Initializes a new instance of the DuplicateKeyException class with a specified error message.
public DuplicateKeyException ( string message ) : System
message string The message that describes the error.
return System

DuplicateKeyException() public method

Initializes a new instance of the DuplicateKeyException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public DuplicateKeyException ( string message, Exception innerException ) : System
message string The error message that explains the reason for the exception.
innerException Exception The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
return System