Beispiel #1
0
        /// <summary>
        ///     Initializes a new instance of the <see cref="FlacException" /> class from serialization data.
        /// </summary>
        /// <param name="info">The <see cref="SerializationInfo" /> object that holds the serialized object data.</param>
        /// <param name="context">
        ///     The StreamingContext object that supplies the contextual information about the source or
        ///     destination.
        /// </param>
        protected FlacException(SerializationInfo info, StreamingContext context)
        {
            if (info == null)
            {
                throw new ArgumentNullException("info");
            }

            Layer = (FlacLayer)info.GetValue("Layer", typeof(FlacLayer));
        }
Beispiel #2
0
 public FlacException(string message, FlacLayer layer)
     : base(message)
 {
     Layer = layer;
 }
Beispiel #3
0
 public FlacException(Exception innerexception, FlacLayer layer)
     : base("See innerexception", innerexception)
 {
     Layer = layer;
 }
Beispiel #4
0
 public FlacException(Exception innerexception, FlacLayer layer)
     : base("See innerexception", innerexception)
 {
     Layer = layer;
 }
Beispiel #5
0
 public FlacException(string message, FlacLayer layer)
     : base(message)
 {
     Layer = layer;
 }
Beispiel #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FlacException"/> class.
 /// </summary>
 /// <param name="innerException">The InnerException which caused the error.</param>
 /// <param name="layer">The layer.The layer of the flac stream the exception got thrown.</param>
 public FlacException(Exception innerException, FlacLayer layer)
     : base("See InnerException for more details.", innerException)
 {
     Layer = layer;
 }
Beispiel #7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FlacException"/> class.
 /// </summary>
 /// <param name="innerException">The InnerException which caused the error.</param>
 /// <param name="layer">The layer.The layer of the flac stream the exception got thrown.</param>
 public FlacException(Exception innerException, FlacLayer layer)
     : base("See InnerException for more details.", innerException)
 {
     Layer = layer;
 }