| | | 1 | | using System; |
| | | 2 | | |
| | | 3 | | namespace MediaBrowser.Common |
| | | 4 | | { |
| | | 5 | | /// <summary> |
| | | 6 | | /// Represents errors that occur during interaction with FFmpeg. |
| | | 7 | | /// </summary> |
| | | 8 | | public class FfmpegException : Exception |
| | | 9 | | { |
| | | 10 | | /// <summary> |
| | | 11 | | /// Initializes a new instance of the <see cref="FfmpegException"/> class. |
| | | 12 | | /// </summary> |
| | 0 | 13 | | public FfmpegException() |
| | | 14 | | { |
| | 0 | 15 | | } |
| | | 16 | | |
| | | 17 | | /// <summary> |
| | | 18 | | /// Initializes a new instance of the <see cref="FfmpegException"/> class with a specified error message. |
| | | 19 | | /// </summary> |
| | | 20 | | /// <param name="message">The message that describes the error.</param> |
| | 0 | 21 | | public FfmpegException(string message) : base(message) |
| | | 22 | | { |
| | 0 | 23 | | } |
| | | 24 | | |
| | | 25 | | /// <summary> |
| | | 26 | | /// Initializes a new instance of the <see cref="FfmpegException"/> class with a specified error message and a |
| | | 27 | | /// reference to the inner exception that is the cause of this exception. |
| | | 28 | | /// </summary> |
| | | 29 | | /// <param name="message">The error message that explains the reason for the exception.</param> |
| | | 30 | | /// <param name="innerException"> |
| | | 31 | | /// The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if |
| | | 32 | | /// no inner exception is specified. |
| | | 33 | | /// </param> |
| | | 34 | | public FfmpegException(string message, Exception innerException) |
| | 0 | 35 | | : base(message, innerException) |
| | | 36 | | { |
| | 0 | 37 | | } |
| | | 38 | | } |
| | | 39 | | } |