view mde/text/exception.d @ 1:18491334a525

Finished format.d and parse.d modules; moved to mde/text. Partway implementing mde.mergetag.write.TextWriter. committer: Diggory Hardy <diggory.hardy@gmail.com>
author Diggory Hardy <diggory.hardy@gmail.com>
date Tue, 30 Oct 2007 17:08:12 +0000
parents
children b544c3a7c9ca
line wrap: on
line source

/*******************************************************************
 * Contains exception classes for Text (a collection of text utils).
 *
 * Publically imports mde.exception.
 ******************************************************************/
module mde.text.exception;

public import mde.exception;

/// Base Text exception class.
class TextException : mdeException {
    this (char[] msg) {
        super("Text: " ~ msg);
    }
    this () {}
}

/** Thrown by the parse module on any error.
 */
class TextParseException : TextException {
    this () {}
}
/** Thrown by the format module on any error.
*/
class TextFormatException : TextException {
this () {}
}