3 Parrot::Exception - Auxiliary methods for Exceptions
11 load_bytecode 'Parrot/Exception.pbc'
14 $P0 = get_class 'Exception'
15 $P1 = $P0.'new'('Error in "', $S0, '" module')
20 This module provides some additional support for using Parrot's
21 built-in Exception class. The principal method is C<new>, which
22 simplifies the task of building and populating Exception objects.
30 Build an C<Exception> object, initializing its message component
31 to be the concatenation of any arguments supplied. Returns the
32 newly created C<Exception>.
36 .namespace [ 'Exception' ]
39 .param pmc args :slurpy
44 message = join '', args
45 ex['_message'] = message
54 Patrick R. Michaud <pmichaud@pobox.com>
58 Copyright (C) 2007-2008, The Perl Foundation.
66 # vim: expandtab shiftwidth=4 ft=pir: