Go to the source code of this file.
Functions | |
void | clean_up_and_exit (int exit_status, bool) |
void | octave_handle_signal (void) |
void | octave_rethrow_exception (void) |
void | octave_throw_bad_alloc (void) |
void | octave_throw_execution_exception (void) |
void | octave_throw_exit_exception (int exit_status, int safe_to_return) |
void | octave_throw_interrupt_exception (void) |
Variables | |
void(* | octave_bad_alloc_hook )(void) = nullptr |
void(* | octave_interrupt_hook )(void) = nullptr |
void(* | octave_signal_hook )(void) = nullptr |
void octave_handle_signal | ( | void | ) |
Definition at line 39 of file quit.cc.
References octave_interrupt_state, octave_signal_hook, and octave_throw_interrupt_exception().
void octave_rethrow_exception | ( | void | ) |
Definition at line 105 of file quit.cc.
References octave_alloc_exception, octave_exception_state, octave_exec_exception, octave_exit_exception_safe_to_return, octave_exit_exception_status, octave_interrupt_state, octave_quit_exception, octave_throw_bad_alloc(), octave_throw_execution_exception(), octave_throw_exit_exception(), and octave_throw_interrupt_exception().
void octave_throw_bad_alloc | ( | void | ) |
Definition at line 77 of file quit.cc.
References octave_alloc_exception, octave_bad_alloc_hook, and octave_exception_state.
Referenced by octave_rethrow_exception().
void octave_throw_execution_exception | ( | void | ) |
Definition at line 67 of file quit.cc.
References octave_exception_state, and octave_exec_exception.
Referenced by octave_rethrow_exception().
void octave_throw_exit_exception | ( | int | exit_status, |
int | safe_to_return | ||
) |
Definition at line 88 of file quit.cc.
References octave_exception_state, and octave_quit_exception.
Referenced by octave_rethrow_exception().
void octave_throw_interrupt_exception | ( | void | ) |
Definition at line 58 of file quit.cc.
References octave_interrupt_hook.
Referenced by octave_handle_signal(), and octave_rethrow_exception().
void(* octave_bad_alloc_hook) (void) = nullptr |
Definition at line 36 of file quit.cc.
Referenced by octave_throw_bad_alloc().
void(* octave_interrupt_hook) (void) = nullptr |
Definition at line 35 of file quit.cc.
Referenced by octave_throw_interrupt_exception().
void(* octave_signal_hook) (void) = nullptr |
Definition at line 34 of file quit.cc.
Referenced by octave_handle_signal().