#include <try.h>
Public Member Functions | |
virtual | ~rpt_stmt_try () |
Static Public Member Functions | |
static pointer | create (const rpt_stmt::pointer &try_clause, const rpt_expr::pointer &variable, const rpt_stmt::pointer &catch_clause) |
Protected Member Functions | |
void | run (rpt_stmt_result_ty *) const |
Private Member Functions | |
rpt_stmt_try (const rpt_stmt::pointer &try_clause, const rpt_expr::pointer &variable, const rpt_stmt::pointer &catch_clause) | |
rpt_stmt_try () | |
rpt_stmt_try (const rpt_stmt_try &) | |
rpt_stmt_try & | operator= (const rpt_stmt_try &) |
Private Attributes | |
rpt_expr::pointer | variable |
Definition at line 30 of file try.h.
virtual rpt_stmt_try::~rpt_stmt_try | ( | ) | [virtual] |
The destructor.
rpt_stmt_try::rpt_stmt_try | ( | const rpt_stmt::pointer & | try_clause, | |
const rpt_expr::pointer & | variable, | |||
const rpt_stmt::pointer & | catch_clause | |||
) | [private] |
The constructor. It is private on purpose, use the "create" class method instead.
try_clause | The statement to try and execute | |
variable | The variable to receive the thrown exception | |
catch_clause | The statement to execute if an exception is caught. |
rpt_stmt_try::rpt_stmt_try | ( | ) | [private] |
The default constructor. Do not use.
rpt_stmt_try::rpt_stmt_try | ( | const rpt_stmt_try & | ) | [private] |
The copy constructor. Do not use.
static pointer rpt_stmt_try::create | ( | const rpt_stmt::pointer & | try_clause, | |
const rpt_expr::pointer & | variable, | |||
const rpt_stmt::pointer & | catch_clause | |||
) | [static] |
The constructor. It is private on purpose, use the "create" class method instead.
try_clause | The statement to try and execute | |
variable | The variable to receive the thrown exception | |
catch_clause | The statement to execute if an exception is caught. |
void rpt_stmt_try::run | ( | rpt_stmt_result_ty * | ) | const [protected, virtual] |
The run method is used to execute the statament.
Implements rpt_stmt.
rpt_stmt_try& rpt_stmt_try::operator= | ( | const rpt_stmt_try & | ) | [private] |
The assignment operator. Do not use.
rpt_expr::pointer rpt_stmt_try::variable [private] |