1 /*
2  *  Exception for Duktape internal throws when C++ exceptions are used
3  *  for long control transfers.
4  *
5  *  Doesn't inherit from any exception base class to minimize the chance
6  *  that user code would accidentally catch this exception.
7  */
8 
9 #ifndef DUK_EXCEPTION_H_INCLUDED
10 #define DUK_EXCEPTION_H_INCLUDED
11 
12 #if defined(DUK_USE_CPP_EXCEPTIONS)
13 class duk_internal_exception {
14 	/* intentionally empty */
15 };
16 #endif
17 
18 #endif  /* DUK_EXCEPTION_H_INCLUDED */
19