1 /* === S I N F G =========================================================== */
5 ** $Id: exception.h,v 1.1.1.1 2005/01/04 01:23:14 darco Exp $
8 ** Copyright (c) 2002 Robert B. Quattlebaum Jr.
10 ** This software and associated documentation
11 ** are CONFIDENTIAL and PROPRIETARY property of
12 ** the above-mentioned copyright holder.
14 ** You may not copy, print, publish, or in any
15 ** other way distribute this software without
16 ** a prior written agreement with
17 ** the copyright holder.
20 /* ========================================================================= */
22 /* === S T A R T =========================================================== */
24 #ifndef __SINFG_EXCEPTION_H
25 #define __SINFG_EXCEPTION_H
27 /* === H E A D E R S ======================================================= */
30 #include "string_decl.h"
32 /* === M A C R O S ========================================================= */
34 /* === T Y P E D E F S ===================================================== */
36 /* === C L A S S E S & S T R U C T S ======================================= */
42 class BadLinkName : public std::runtime_error
45 BadLinkName(const String &what);
46 }; // END of class BadLinkName
48 class BadType : public std::runtime_error
51 BadType(const String &what);
52 }; // END of class BadType
54 class IDAlreadyExists : public std::runtime_error
57 IDAlreadyExists(const String &what);
60 class NotFound : public std::runtime_error
63 NotFound(const String &what);
66 class IDNotFound : public NotFound
69 IDNotFound(const String &what);
72 class FileNotFound : public NotFound
75 FileNotFound(const String &what);
78 class BadTime : public std::runtime_error
81 BadTime(const String &what);
84 class BadFrameRate : public std::runtime_error
87 BadFrameRate(const String &what);
90 }; // END of namespace Exception
92 }; // END of namespace sinfg
94 /* === E N D =============================================================== */