/// <summary>
        /// Returns an instance of <see cref="ArgumentInvalidException"/> and raise.
        /// </summary>
        /// <returns></returns>
        public static void InvalidAndRaise()
        {
            var exception = new ArgumentInvalidException();

            throw new ValidationException(INVL_ERROR_CODE, exception.Message, INVL_FLAG, exception);
        }
        /// <summary>
        /// Returns an instance of <see cref="ArgumentInvalidException"/>.
        /// </summary>
        /// <param name="message"></param>
        /// <param name="innerException"></param>
        /// <returns></returns>
        public static ValidationException Invalid(string message, Exception innerException)
        {
            var exception = new ArgumentInvalidException(message, innerException);

            throw new ValidationException(INVL_ERROR_CODE, exception.Message, INVL_FLAG, exception);
        }
 /// <summary>
 /// Returns an instance of <see cref="ArgumentInvalidException"/>.
 /// </summary>
 /// <param name="exception"></param>
 /// <returns></returns>
 public static ValidationException Invalid(ArgumentInvalidException exception)
 {
     throw new ValidationException(INVL_ERROR_CODE, exception.Message, INVL_FLAG, exception);
 }
        /// <summary>
        /// Returns an instance of <see cref="ArgumentInvalidException"/>.
        /// </summary>
        /// <param name="paramName"></param>
        /// <param name="message"></param>
        /// <returns></returns>
        public static ValidationException Invalid(string paramName, string message)
        {
            var exception = new ArgumentInvalidException(paramName, message);

            throw new ValidationException(INVL_ERROR_CODE, exception.Message, INVL_FLAG, exception);
        }