| 123456789101112131415161718192021222324252627 |
- using System;
- using System.Collections.Generic;
- using System.Text;
- namespace System.Fire.Container.Exception {
- /// <summary>
- /// Exception für fehlerhafte ChunkSize
- /// </summary>
- public class Exception_Chunk_Size : ApplicationException {
- private int _c = 0;
- /// <summary>
- /// Erstellt eine neue Exception für fehlerhafte ChunkSize
- /// </summary>
- /// <param name="ChunkSize">Gibt die fehlerhaft angegebene Chunksize fest</param>
- public Exception_Chunk_Size(int ChunkSize):
- base("The Container Chunk-Size must be 4 or greater and divideable throw 4") {
- this._c = ChunkSize;
- }
- /// <summary>Fehlerhafte Chunksize Angabe</summary>
- /// <returns>Gibt die fehlerhafte Chunksize Angabe zurück</returns>
- public int ChunkSize {
- get { return this._c; }
- }
- }
- }
|