1*93aeb8c3SIngo Weinhold 2*93aeb8c3SIngo Weinhold #include "exceptions.h" 3*93aeb8c3SIngo Weinhold ExceptionBase()4*93aeb8c3SIngo WeinholdExceptionBase::ExceptionBase() {} ~ExceptionBase()5*93aeb8c3SIngo WeinholdExceptionBase::~ExceptionBase() {} 6*93aeb8c3SIngo Weinhold ExceptionA()7*93aeb8c3SIngo WeinholdExceptionA::ExceptionA() {} ~ExceptionA()8*93aeb8c3SIngo WeinholdExceptionA::~ExceptionA() {} 9*93aeb8c3SIngo Weinhold ExceptionB()10*93aeb8c3SIngo WeinholdExceptionB::ExceptionB() {} ~ExceptionB()11*93aeb8c3SIngo WeinholdExceptionB::~ExceptionB() {} 12*93aeb8c3SIngo Weinhold VirtualExceptionBase()13*93aeb8c3SIngo WeinholdVirtualExceptionBase::VirtualExceptionBase() {} ~VirtualExceptionBase()14*93aeb8c3SIngo WeinholdVirtualExceptionBase::~VirtualExceptionBase() {} 15*93aeb8c3SIngo Weinhold VirtualExceptionA()16*93aeb8c3SIngo WeinholdVirtualExceptionA::VirtualExceptionA() {} ~VirtualExceptionA()17*93aeb8c3SIngo WeinholdVirtualExceptionA::~VirtualExceptionA() {} 18*93aeb8c3SIngo Weinhold VirtualExceptionB()19*93aeb8c3SIngo WeinholdVirtualExceptionB::VirtualExceptionB() {} ~VirtualExceptionB()20*93aeb8c3SIngo WeinholdVirtualExceptionB::~VirtualExceptionB() {} 21*93aeb8c3SIngo Weinhold throwBase()22*93aeb8c3SIngo Weinholdvoid throwBase() { throw ExceptionBase(); } throwA()23*93aeb8c3SIngo Weinholdvoid throwA() { throw ExceptionA(); } throwB()24*93aeb8c3SIngo Weinholdvoid throwB() { throw ExceptionB(); } throwVirtualBase()25*93aeb8c3SIngo Weinholdvoid throwVirtualBase() { throw VirtualExceptionBase(); } throwVirtualA()26*93aeb8c3SIngo Weinholdvoid throwVirtualA() { throw VirtualExceptionA(); } throwVirtualB()27*93aeb8c3SIngo Weinholdvoid throwVirtualB() { throw VirtualExceptionB(); } throwInt()28*93aeb8c3SIngo Weinholdvoid throwInt() { throw int(7); } 29