// dnlib: See LICENSE.txt for more info
using System;
using System.Runtime.Serialization;
namespace dnlib.DotNet.Writer {
///
/// Thrown when the module writer encounters an unrecoverable error
///
[Serializable]
public class ModuleWriterException : Exception {
///
/// Default constructor
///
public ModuleWriterException() {
}
///
/// Constructor
///
/// Error message
public ModuleWriterException(string message)
: base(message) {
}
///
/// Constructor
///
/// Error message
/// Other exception
public ModuleWriterException(string message, Exception innerException)
: base(message, innerException) {
}
///
/// Constructor
///
///
///
protected ModuleWriterException(SerializationInfo info, StreamingContext context)
: base(info, context) {
}
}
}