cpp_photon/test/exception_test.cpp

28 lines
460 B
C++
Raw Normal View History

2005-05-15 02:50:07 +00:00
//This file is part of Photon (http://photon.sourceforge.net)
//Copyright (C) 2004-2005 James Turk
//
// Author:
// James Turk (jpt2433@rit.edu)
//
// Version:
// $Id: exception_test.cpp,v 1.1 2005/05/15 02:50:07 cozman Exp $
#include "photon.hpp"
using namespace photon;
class ExceptionTest : public Application
{
public:
int main(const StrVec& args)
{
throw Error("catch this!");
return 0;
}
};
ENTRYPOINT(ExceptionTest)