Esempio n. 1
0
 public WrongLengthException(LockFile lockFile, string inMethod, long length) : base(lockFile, inMethod)
 {
     this._length = length;
 }
Esempio n. 2
0
 public WrongMagicException(LockFile lockFile, string inMethod, byte[] magic) : base(lockFile, inMethod)
 {
     this._magic = magic;
 }
Esempio n. 3
0
 public UnexpectedFileNotFoundException(LockFile lockFile, string inMethod, Exception reason) : base(lockFile, inMethod)
 {
     this._reason = reason;
 }
Esempio n. 4
0
 public UnexpectedEndOfFileException(LockFile lockFile, string inMethod, InvalidOperationException reason) : base(lockFile, inMethod)
 {
     this._reason = reason;
 }
Esempio n. 5
0
 public LockHeldExternallyException(LockFile lockFile, string inMethod, long read, long heartbeat) : base(lockFile, inMethod)
 {
     this._read      = read;
     this._heartbeat = heartbeat;
 }
Esempio n. 6
0
 public FileSecurityException(LockFile lockFile, string inMethod, Exception reason) : base(lockFile, inMethod)
 {
     this._reason = reason;
 }
Esempio n. 7
0
 protected BaseException(SerializationInfo info, StreamingContext context) : base(info, context)
 {
     this._lockFile = (LockFile)info.GetValue("_lockFile", typeof(LockFile));
     this._inMethod = (string)info.GetValue("_inMethod", typeof(string));
 }