1 /**
2  * Copyright: Copyright (c) 2010-2011 Jacob Carlborg. All rights reserved.
3  * Authors: Jacob Carlborg
4  * Version: Initial created: Nov 14, 2010
5  * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0)
6  */
7 module dvm.dvm.Exceptions;
8 
9 import mambo.core..string;
10 
11 class DvmException : Exception
12 {
13     template Constructor ()
14     {
15         this (string message, string file, size_t line)
16         {
17             super(message, file, line);
18         }
19     }
20 
21     mixin Constructor;
22 }
23 
24 class MissingArgumentException : DvmException
25 {
26     mixin Constructor;
27 }
28 
29 class InvalidOptionException : DvmException
30 {
31     mixin Constructor;
32 }