﻿// <copyright file="TJException.cs" company="Autonomic Systems, Quamotion">
// Copyright (c) Autonomic Systems. All rights reserved.
// Copyright (c) Quamotion. All rights reserved.
// </copyright>

using System;

namespace TurboJpegWrapper
{
    // ReSharper disable once InconsistentNaming

    /// <summary>
    /// Exception thrown then internal error in the underlying turbo jpeg library is occured.
    /// </summary>
    public class TJException : Exception
    {
        /// <summary>
        /// Creates new instance of the <see cref="TJException"/> class.
        /// </summary>
        /// <param name="error">Error message from underlying turbo jpeg library.</param>
        public TJException(string error) : base(error)
        {
        }
    }
}
﻿// <copyright file="TJException.cs" company="Autonomic Systems, Quamotion">
// Copyright (c) Autonomic Systems. All rights reserved.
// Copyright (c) Quamotion. All rights reserved.
// </copyright>

using System;

namespace TurboJpegWrapper
{
    // ReSharper disable once InconsistentNaming

    /// <summary>
    /// Exception thrown then internal error in the underlying turbo jpeg library is occured.
    /// </summary>
    public class TJException : Exception
    {
        /// <summary>
        /// Creates new instance of the <see cref="TJException"/> class.
        /// </summary>
        /// <param name="error">Error message from underlying turbo jpeg library.</param>
        public TJException(string error)
            : base(error)
        {
        }
    }
}
Put constructor initializers on their own line
SA1128: Put constructor initializers on their own line
