/// <summary>
 /// Constructor for DataLayerException.
 /// </summary>
 /// <param name="error">The DataLayerError.</param>
 /// <param name="message">The message.</param>
 /// <param name="innerException">The inner exception.</param>
 public DataLayerException(DataLayerError error, string message, Exception innerException)
     : base(message, innerException)
 {
     Error = error;
 }
 /// <summary>
 /// Constructor for DataLayerException.
 /// </summary>
 /// <param name="error">The DataLayerError.</param>
 /// <param name="message">The message.</param>
 /// <param name="innerException">The inner exception.</param>
 public DataLayerException(DataLayerError error, string message, Exception innerException)
     : base(message, innerException)
 {
     Error = error;
 }
 /// <summary>
 /// Constructor for DataLayerException.
 /// </summary>
 /// <param name="error">The DataLayerError.</param>
 /// <param name="message">The message.</param>
 public DataLayerException(DataLayerError error, string message)
     : base(message)
 {
     Error = error;
 }
 /// <summary>
 /// Constructor for DataLayerException.
 /// </summary>
 /// <param name="error">The DataLayerError.</param>
 /// <param name="message">The message.</param>
 public DataLayerException(DataLayerError error, string message)
     : base(message)
 {
     Error = error;
 }