Annotation of parser3/src/main/pa_pool.C, revision 1.21
1.13 paf 1: /** @file
1.14 paf 2: Parser: pool class.
3:
1.10 paf 4: Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com)
1.14 paf 5:
1.11 paf 6: Author: Alexander Petrosyan <paf@design.ru> (http://design.ru/paf)
1.2 paf 7: */
1.21 ! parser 8: static const char *RCSId="$Id: pa_pool.C,v 1.20 2001/06/28 07:44:17 parser Exp $";
1.1 paf 9:
10: #include "pa_pool.h"
1.7 paf 11: #include "pa_exception.h"
1.1 paf 12:
1.21 ! parser 13: void Pool::fail_alloc(size_t size) const {
1.8 paf 14: fexception->_throw(0, 0,
1.7 paf 15: 0,
1.9 paf 16: "failed to allocate %u bytes", size);
1.7 paf 17: }
1.21 ! parser 18:
! 19: void Pool::fail_register_cleanup() const {
! 20: fexception->_throw(0, 0,
! 21: 0,
! 22: "failed to register cleanup");
! 23: }
E-mail: