--- parser3/src/main/pa_pool.C 2001/01/30 13:07:31 1.5 +++ parser3/src/main/pa_pool.C 2001/03/22 16:38:21 1.16 @@ -1,8 +1,20 @@ -/* - $Id: pa_pool.C,v 1.5 2001/01/30 13:07:31 paf Exp $ +/** @file + Parser: pool class. + + Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) + + Author: Alexander Petrosyan (http://design.ru/paf) + + $Id: pa_pool.C,v 1.16 2001/03/22 16:38:21 paf Exp $ */ -#include +#include #include "pa_pool.h" +#include "pa_exception.h" +void Pool::fail(size_t size) const { + fexception->_throw(0, 0, + 0, + "failed to allocate %u bytes", size); +}