GNU Octave  3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Typedefs | Functions | Variables
error.cc File Reference
#include <cstdarg>
#include <cstring>
#include <iostream>
#include <sstream>
#include <string>
#include "defun.h"
#include "error.h"
#include "input.h"
#include "pager.h"
#include "oct-obj.h"
#include "oct-map.h"
#include "utils.h"
#include "ov.h"
#include "ov-usr-fcn.h"
#include "pt-pr-code.h"
#include "pt-stmt.h"
#include "toplev.h"
#include "unwind-prot.h"
#include "variables.h"
Include dependency graph for error.cc:

Go to the source code of this file.

Typedefs

typedef void(* error_fun )(const char *, const char *,...)

Functions

static int check_state (const std::string &state)
void defun_usage_message (const std::string &msg)
static void defun_usage_message_1 (const char *fmt,...)
void disable_warning (const std::string &id)
void error (const char *fmt,...)
static void error_1 (std::ostream &os, const char *name, const char *id, const char *fmt, va_list args, bool with_cfn=false)
static void error_2 (const char *id, const char *fmt, va_list args, bool with_cfn=false)
void error_with_cfn (const char *fmt,...)
void error_with_id (const char *id, const char *fmt,...)
void error_with_id_cfn (const char *id, const char *fmt,...)
OCTAVE_EXPORT octave_value_list Fbeep_on_error (const octave_value_list &args, int nargout)
OCTAVE_EXPORT octave_value_list Fdebug_on_error (const octave_value_list &args, int nargout)
OCTAVE_EXPORT octave_value_list Fdebug_on_warning (const octave_value_list &args, int nargout)
OCTAVE_EXPORT octave_value_list Ferror (const octave_value_list &args, int)
OCTAVE_EXPORT octave_value_list Flasterr (const octave_value_list &args, int nargout)
OCTAVE_EXPORT octave_value_list Flasterror (const octave_value_list &args, int)
OCTAVE_EXPORT octave_value_list Flastwarn (const octave_value_list &args, int nargout)
OCTAVE_EXPORT octave_value_list Frethrow (const octave_value_list &args, int)
octave_value_list Fsprintf (const octave_value_list &, int)
OCTAVE_EXPORT octave_value_list Fusage (const octave_value_list &args, int)
OCTAVE_EXPORT octave_value_list Fwarning (const octave_value_list &args, int nargout)
static std::string handle_message (error_fun f, const char *id, const char *msg, const octave_value_list &args, bool have_fmt)
void initialize_default_warning_state (void)
static octave_map initialize_last_error_stack (void)
static void initialize_warning_options (const std::string &state)
void interpreter_try (unwind_protect &frame)
std::string last_error_id (void)
std::string last_error_message (void)
std::string last_warning_id (void)
std::string last_warning_message (void)
static bool maybe_extract_message_id (const std::string &caller, const octave_value_list &args, octave_value_list &nargs, std::string &id)
void message (const char *name, const char *fmt,...)
void message_with_id (const char *name, const char *id, const char *fmt,...)
void panic (const char *fmt,...)
void parse_error (const char *fmt,...)
void parse_error_with_id (const char *id, const char *fmt,...)
static void pr_where (const char *who)
static void pr_where_1 (const char *fmt,...)
static void pr_where_2 (const char *fmt, va_list args)
void reset_error_handler (void)
void rethrow_error (const char *id, const char *fmt,...)
octave_value_list set_warning_state (const std::string &id, const std::string &state)
octave_value_list set_warning_state (const octave_value_list &args)
void usage (const char *fmt,...)
void usage_1 (const char *id, const char *fmt, va_list args)
void usage_with_id (const char *id, const char *fmt,...)
static void verror (bool save_last_error, std::ostream &os, const char *name, const char *id, const char *fmt, va_list args, bool with_cfn=false)
void verror (const char *fmt, va_list args)
void verror_with_cfn (const char *fmt, va_list args)
void verror_with_id (const char *id, const char *fmt, va_list args)
void verror_with_id_cfn (const char *id, const char *fmt, va_list args)
void vmessage (const char *name, const char *fmt, va_list args)
void vmessage_with_id (const char *name, const char *id, const char *fmt, va_list args)
void vparse_error (const char *fmt, va_list args)
void vparse_error_with_id (const char *id, const char *fmt, va_list args)
void vusage (const char *fmt, va_list args)
void vusage_with_id (const char *id, const char *fmt, va_list args)
static void vwarning (const char *name, const char *id, const char *fmt, va_list args)
void vwarning (const char *fmt, va_list args)
void vwarning_with_id (const char *id, const char *fmt, va_list args)
void warning (const char *fmt,...)
static void warning_1 (const char *id, const char *fmt, va_list args)
int warning_enabled (const std::string &id)
static octave_scalar_map warning_query (const std::string &id_arg)
void warning_with_id (const char *id, const char *fmt,...)

Variables

int buffer_error_messages = 0
bool discard_error_messages = false
bool discard_warning_messages = false
int error_state = 0
static bool Vbacktrace_on_warning = false
static bool Vbeep_on_error = false
bool Vdebug_on_error = false
bool Vdebug_on_warning = false
static std::string Vlast_error_id
static std::string Vlast_error_message
static octave_map Vlast_error_stack
static std::string Vlast_warning_id
static std::string Vlast_warning_message
static bool Vquiet_warning = false
static bool Vverbose_warning
static octave_map warning_options
int warning_state = 0

Typedef Documentation

typedef void(* error_fun)(const char *, const char *,...)

Definition at line 761 of file error.cc.

Function Documentation

static int check_state ( const std::string &  state)
static

Definition at line 537 of file error.cc.

Referenced by warning_enabled().

void defun_usage_message ( const std::string &  msg)

Definition at line 756 of file error.cc.

References defun_usage_message_1().

static void defun_usage_message_1 ( const char fmt,
  ... 
)
static

Definition at line 747 of file error.cc.

References error_1(), and octave_stdout.

Referenced by defun_usage_message().

void disable_warning ( const std::string &  id)

Definition at line 1615 of file error.cc.

References set_warning_state().

Referenced by initialize_default_warning_state(), and maximum_braindamage().

void error ( const char fmt,
  ... 
)

Definition at line 483 of file error.cc.

References verror().

Referenced by add_hdf5_data(), base_graphics_object::adopt(), octave_char_matrix_str::all_strings(), octave_class::all_strings(), tree_index_expression::append(), tree_colon_expression::append(), octave_base_sparse< T >::assign(), octave_map::assign(), octave_value::assign(), Octave_map::assign(), attempt_type_conversion(), bitop(), bitopxx(), octave_map::cat(), octave_char_matrix_str::cellstr_value(), octave_cell::cellstr_value(), load_path::check_file_type(), check_version(), color_values::color_values(), Cell::column(), octave_class::exemplar_info::compare(), OCTAVE_VALUE_INT_MATRIX_T::complex_matrix_value(), octave_map::concat(), Octave_map::concat(), octave_link::connect_link(), convert(), convert_cdata(), tree_argument_list::convert_to_const_vector(), property::create(), color_property::current_value(), double_radio_property::current_value(), decode_subscripts(), decompose_binary_op(), base_graphics_object::defaults(), DEFCONSTFUN(), tree_parameter_list::define_from_arg_vector(), DEFUN(), DEFUN_DLD(), DEFUNX(), octave_base_sparse< T >::delete_elements(), octave_float_complex_matrix::diag(), octave_complex_matrix::diag(), octave_float_matrix::diag(), octave_matrix::diag(), symbol_info_list::symbol_info::display_line(), do_accumarray_minmax(), do_accumarray_sum(), do_accumdim_sum(), bp_table::do_add_breakpoint(), octave_call_stack::do_backtrace_error_message(), do_bitpack(), do_cat(), do_class_concat(), do_cumminmax_body(), do_dbstack(), do_dbupdown(), do_edit_history(), gh_manager::do_execute_callback(), do_fft(), do_fft2(), do_fftn(), do_fread(), symbol_table::scope_id_cache::do_free(), ch_manager::do_free(), gh_manager::do_free(), do_fwrite(), octave_stream_list::do_get_file_number(), octave_stream_list::do_get_info(), gtk_manager::do_get_toolkit(), do_history(), octave_base_sparse< T >::do_index_op(), octave_base_value::do_index_op(), octave_stream_list::do_insert(), do_isglobal(), do_load(), octave_dynamic_loader::do_load_mex(), octave_dynamic_loader::do_load_oct(), gh_manager::do_make_graphics_handle(), do_merge(), do_minmax_body(), octave_builtin::do_multi_index_op(), octave_mex_function::do_multi_index_op(), octave_fcn_handle::do_multi_index_op(), octave_user_script::do_multi_index_op(), octave_base_value::do_multi_index_op(), octave_user_function::do_multi_index_op(), octave_value::do_non_const_unary_op(), do_num2cell_helper(), do_object2cell(), do_printf_conv(), do_rand(), bp_table::do_remove_all_breakpoints_in_file(), bp_table::do_remove_breakpoint(), gh_manager::do_renumber_figure(), do_repelems(), base_property::do_set(), string_property::do_set(), string_array_property::do_set(), text_label_property::do_set(), radio_property::do_set(), color_property::do_set(), double_property::do_set(), double_radio_property::do_set(), array_property::do_set(), handle_property::do_set(), children_property::do_set(), callback_property::do_set(), do_simple_cellfun(), do_strcmp_fun(), do_stream_open(), do_tril(), do_trilu(), do_triu(), symbol_table::do_update_nest(), do_who(), octave_class::dotref(), double_radio_property::double_value(), dqelg(), encode_uint_image(), octave_stream::error(), tree_colon_expression::eval_error(), eval_error(), octave_class::exemplar_info::exemplar_info(), extract_function(), F__calc_dimensions__(), F__contourc__(), F__dispatch__(), F__dump_symtab_info__(), F__ftp_ascii__(), F__ftp_binary__(), F__ftp_close__(), F__ftp_cwd__(), F__ftp_delete__(), F__ftp_dir__(), F__ftp_mget__(), F__ftp_mkdir__(), F__ftp_mode__(), F__ftp_mput__(), F__ftp_pwd__(), F__ftp_rename__(), F__ftp_rmdir__(), F__get__(), F__go_axes_init__(), F__go_delete__(), F__go_execute_callback__(), F__go_figure__(), F__image_pixel_size__(), F__lin_interpn__(), F__list_functions__(), F__octave_link_edit_file__(), F__octave_link_file_dialog__(), F__octave_link_input_dialog__(), F__octave_link_list_dialog__(), F__octave_link_message_dialog__(), F__octave_link_question_dialog__(), F__pchip_deriv__(), F__qp__(), F__sort_rows_idx__(), F__varval__(), Fadd_input_event_hook(), Faddlistener(), Faddpath(), Faddproperty(), Fairy(), octave_base_lexer::fatal_error(), Fatan2(), Fatexit(), Fbalance(), Fbase64_encode(), Fbesselh(), Fbitmax(), Fbitpack(), Fbitshift(), Fbitunpack(), Fblkmm(), Fbsxfun(), Fcanonicalize_file_name(), Fcat(), Fcellfun(), Fcellindexmat(), Fcellslices(), Fchar(), Fcolloc(), Fcomplex(), Fconv2(), Fconvn(), Fcumsum(), Fdaspk(), Fdaspk_options(), Fdasrt(), Fdasrt_options(), Fdassl(), Fdassl_options(), Fdbcont(), Fdblist(), Fdbquit(), Fdbstatus(), Fdbstep(), Fdbtype(), Fdbwhere(), Fdellistener(), Fdiag(), Fdiff(), Fdlmread(), Fdo_string_escapes(), Fdot(), Fdrawnow(), Fdup2(), Fellipj(), Ferrno(), Fexec(), Fexist(), FF_DUPFD(), FF_GETFD(), FF_GETFL(), FF_SETFD(), FF_SETFL(), Ffcntl(), Ffdisp(), Ffile_in_loadpath(), Ffile_in_path(), Ffilemarker(), Ffilter(), Ffind(), Ffind_dir_in_path(), Fflintmax(), Ffprintf(), Ffscanf(), Fgammainc(), Fgenpath(), Fget(), Fget_help_text(), Fget_help_text_from_file(), Fgetgrgid(), Fgetpwuid(), Fgivens(), Fhex2num(), Fignore_function_time_stamp(), fill_matrix(), filter(), find_file_to_load(), Fintmax(), Fintmin(), Fissorted(), Flasterr(), Flasterror(), Flastwarn(), Flinspace(), Flist_in_columns(), Fload(), OCTAVE_VALUE_INT_MATRIX_T::float_complex_matrix_value(), OCTAVE_VALUE_INT_MATRIX_T::float_matrix_value(), Flookup(), Flsode(), Flsode_options(), Flu(), Fluinc(), Fluupdate(), Fmake_absolute_filename(), Fmat2cell(), Fmatrix_type(), Fmerge(), Fmgorth(), Fmislocked(), Fmkfifo(), Fmkstemp(), Fmktime(), Fmlock(), Fmore(), Fmunlock(), Fnorm(), Fnproc(), Fnth_element(), FO_APPEND(), FO_ASYNC(), FO_CREAT(), FO_EXCL(), FO_NONBLOCK(), FO_RDONLY(), FO_RDWR(), FO_SYNC(), FO_TRUNC(), FO_WRONLY(), Foctave_config_info(), fopen_mode_to_ios_mode(), Fpathsep(), Fpinv(), Fpopen(), Fpopen2(), Fprintf(), Fputenv(), Fquad_options(), Fquadcc(), Fquit(), Fqz(), Frandg(), Frandp(), Frandperm(), Frats(), Frcond(), symbol_table::free_scope(), Fregexprep(), Fregister_graphics_toolkit(), Frem(), Fremove_input_event_hook(), Frepelems(), Freshape(), Frethrow(), Frmdir(), Frmpath(), Frsf2csf(), FS_ISBLK(), FS_ISCHR(), FS_ISDIR(), FS_ISFIFO(), FS_ISLNK(), FS_ISREG(), FS_ISSOCK(), Fsave(), Fschur(), Fset(), Fsize(), Fsort(), Fspalloc(), Fsparse(), Fspparms(), Fsprintf(), Fsscanf(), Fstrfind(), Fstrftime(), Fstrncmp(), Fstrncmpi(), Fstrptime(), Fstrrep(), Fstrvcat(), Fsub2ind(), Fsum(), Fsvd(), Fsystem(), ft_manager::ft_manager(), Ftilde_expand(), Ftmpfile(), Ftmpnam(), Ftoc(), Ftypecast(), Fumask(), Fundo_string_escapes(), Funlink(), Furlread(), Furlwrite(), Fvec(), Fwaitfor(), Fwaitpid(), Fwarning(), FWCOREDUMP(), FWEXITSTATUS(), FWIFCONTINUED(), FWIFEXITED(), FWIFSIGNALED(), FWIFSTOPPED(), FWSTOPSIG(), FWTERMSIG(), Fyes_or_no(), base_property::get(), base_graphics_object::get(), root_figure::get_default(), base_graphics_object::get_defaults(), get_dim_vector(), get_dimensions(), base_properties::get_dynamic(), root_figure::get_factory_default(), base_graphics_object::get_factory_defaults(), get_global_value(), get_graphics_object_type(), base_graphics_object::get_handle(), symbol_table::get_instance(), get_lines_and_columns(), get_mapper_fun_options(), base_graphics_object::get_parent(), base_graphics_object::get_properties(), base_properties::get_property_dynamic(), get_property_from_handle(), get_region_range(), get_size(), get_sort_mode_option(), get_sscanf_data(), tree_index_expression::get_struct_index(), base_graphics_object::get_toolkit(), get_top_level_value(), get_user_input(), glpk(), tree_checker::gripe(), gripe_2_or_3_dim_plot(), gripe_assign_conversion_failed(), gripe_assign_failed_or_no_method(), gripe_bad_result(), gripe_bessel_arg(), gripe_binary_op(), gripe_binary_op_conv(), gripe_cat_op(), gripe_cat_op_conv(), gripe_data_conversion(), gripe_disabled_feature(), gripe_ellipj_arg(), gripe_empty_arg(), gripe_failed_assignment(), gripe_file_open(), gripe_indexed_assignment(), gripe_indexed_cs_list(), gripe_internal(), base_graphics_toolkit::gripe_invalid(), gripe_invalid_conversion(), gripe_invalid_file_id(), gripe_invalid_index1(), gripe_invalid_index_for_assignment(), gripe_invalid_index_type(), gripe_invalid_inquiry_subscript(), gripe_library_execution_error(), gripe_no_conversion(), gripe_nonbraced_cs_list_assignment(), gripe_nonconformant(), gripe_not_implemented(), gripe_not_supported(), gripe_range_invalid(), gripe_set_invalid(), gripe_square_matrix_required(), gripe_string_invalid(), gripe_unary_op(), gripe_unary_op_conv(), gripe_unary_op_conversion_failed(), gripe_unrecognized_data_fmt(), gripe_unrecognized_float_fmt(), gripe_user_returned_invalid(), gripe_user_supplied_eval(), gripe_wrong_type_arg(), gripe_wrong_type_arg_for_binary_op(), gripe_wrong_type_arg_for_unary_op(), octave_base_lexer::handle_identifier(), octave_base_lexer::handle_meta_identifier(), octave_base_lexer::handle_superclass_identifier(), hdf5_read_next_data(), hook_function::hook_function(), identity_matrix(), octave_complex::index_vector(), octave_sparse_matrix::index_vector(), octave_class::index_vector(), octave_base_value::index_vector(), install_error_fcns(), octave_errno::instance_ok(), bp_table::instance_ok(), octave_value_typeinfo::instance_ok(), octave_dynamic_loader::instance_ok(), ch_manager::instance_ok(), ft_manager::instance_ok(), octave_pager_stream::instance_ok(), octave_shlib_list::instance_ok(), symbol_table::scope_id_cache::instance_ok(), resource_manager::instance_ok(), octave_call_stack::instance_ok(), display_info::instance_ok(), octave_diary_stream::instance_ok(), octave_child_list::instance_ok(), load_path::instance_ok(), octave_stream_list::instance_ok(), gtk_manager::instance_ok(), gh_manager::instance_ok(), tree_expression::is_logically_true(), octave_cell::is_sorted(), octave_cell::is_sorted_rows(), octave_cell::is_true(), is_valid_function(), isargout1(), lin_interpn(), octave_base_int_matrix< T >::load_ascii(), octave_base_int_scalar< T >::load_ascii(), octave_struct::load_ascii(), octave_fcn_handle::load_ascii(), octave_float_complex_matrix::load_ascii(), octave_char_matrix_str::load_ascii(), octave_complex_matrix::load_ascii(), octave_base_sparse< T >::load_ascii(), octave_cell::load_ascii(), octave_float_complex::load_ascii(), octave_complex::load_ascii(), octave_float_matrix::load_ascii(), octave_class::load_ascii(), octave_base_diag< DMT, MT >::load_ascii(), octave_perm_matrix::load_ascii(), octave_bool_matrix::load_ascii(), octave_lazy_index::load_ascii(), octave_matrix::load_ascii(), octave_bool::load_ascii(), octave_scalar::load_ascii(), octave_float_scalar::load_ascii(), octave_scalar_struct::load_ascii(), octave_range::load_ascii(), octave_sparse_bool_matrix::load_binary(), octave_struct::load_binary(), octave_sparse_complex_matrix::load_binary(), octave_sparse_matrix::load_binary(), octave_fcn_handle::load_binary(), octave_cell::load_binary(), octave_class::load_binary(), octave_lazy_index::load_binary(), octave_scalar_struct::load_binary(), octave_struct::load_hdf5(), octave_fcn_handle::load_hdf5(), octave_class::load_hdf5(), octave_scalar_struct::load_hdf5(), tree_expression::lvalue(), tree_index_expression::lvalue(), octave_value_list::make_argv(), make_fcn_handle(), make_graphics_object(), make_idx_args(), tree_colon_expression::make_range(), mex::malloc_unmarked(), octave_char_matrix::map(), octave_base_value::map(), symbol_table::symbol_record::symbol_record_rep::mark_global(), base_graphics_object::mark_modified(), symbol_table::symbol_record::symbol_record_rep::mark_persistent(), mat2cell_mismatch(), OCTAVE_VALUE_INT_MATRIX_T::matrix_value(), mexErrMsgIdAndTxt(), mexErrMsgTxt(), mk_tmp_hist_file(), mlock(), octave_base_value::nint_value(), normalize_fopen_mode(), octave_class::numel(), octave_base_value::numeric_assign(), oct_binop_pow(), oct_catop_matrix_struct(), oct_catop_struct_matrix(), oct_unop_hermitian(), oct_unop_transpose(), octave_change_to_directory(), octave_class::octave_class(), octave_fcn_handle::octave_fcn_handle(), octave_fcn_inline::octave_fcn_inline(), octave_handle::octave_handle(), octave_lex(), Octave_map::Octave_map(), octave_oncleanup::octave_oncleanup(), octave_process_command_line(), octave_qhull_dims_ok(), octave_range::octave_range(), octcellregexp(), octave_value::op_eq_to_binary_op(), open_diary_file(), tree_jit::optimize(), octave_map::optimize_dimensions(), octave_scalar_map::orderfields(), octave_map::orderfields(), base_graphics_object::override_defaults(), parse_dbfunction_params(), parse_options(), parse_save_options(), symbol_info_list::parse_whos_line_format(), symbol_table::pop_context(), print_usage(), symbol_table::push_context(), qelg(), qp(), raw_mode(), read_ascii_data(), read_binary_data(), read_binary_file_header(), read_file(), read_images(), read_mat5_binary_element(), read_mat5_binary_file_header(), read_mat_ascii_data(), read_mat_binary_data(), read_mat_file_header(), reinterpret_copy(), base_graphics_object::remove_child(), children_property::renumber(), reparent(), base_graphics_object::reparent(), profile_data_accumulator::reset(), base_graphics_object::reset_default_properties(), color_property::rgb(), run_command_and_return_output(), tree_cell::rvalue(), tree_matrix::rvalue(), tree_simple_assignment::rvalue(), tree_fcn_handle::rvalue(), tree_decl_elt::rvalue(), tree_constant::rvalue(), tree_colon_expression::rvalue(), tree_expression::rvalue(), tree_binary_expression::rvalue(), tree_prefix_expression::rvalue(), tree_anon_fcn_handle::rvalue(), tree_multi_assignment::rvalue(), tree_postfix_expression::rvalue(), tree_boolean_expression::rvalue(), tree_cell::rvalue1(), tree_simple_assignment::rvalue1(), tree_colon_expression::rvalue1(), tree_expression::rvalue1(), save_mat5_binary_element(), save_three_d(), save_vars(), octave_base_value::scalar_map_value(), base_scaler::scale(), property_list::set(), base_graphics_object::set(), graphics_object::set(), figure::properties::set___graphics_toolkit__(), base_graphics_object::set_defaults(), base_properties::set_dynamic(), octave_fcn_handle::set_fcn(), set_format_style(), base_properties::set_from_list(), base_graphics_object::set_from_list(), octave_lvalue::set_index(), set_internal_variable(), ft_render::set_mode(), figure::properties::set_papertype(), figure::properties::set_paperunits(), base_properties::set_parent(), set_property_in_handle(), symbol_table::set_scope(), symbol_table::set_scope_and_context(), uicontrol::properties::set_style(), axes::properties::set_text_child(), octave_map::setfield(), octave_class::size(), snarf_file(), octave_cell::sort(), octave_cell::sort_rows_idx(), octave_value_list::splice(), octave_base_value::squeeze(), tree_identifier::static_workspace_error(), string_array_property::string_array_property(), octave_char_matrix_str::string_value(), octave_base_scalar< ST >::subsasgn(), octave_base_diag< DMT, MT >::subsasgn(), octave_base_matrix< MT >::subsasgn(), octave_struct::subsasgn(), octave_base_sparse< T >::subsasgn(), octave_cell::subsasgn(), octave_scalar_struct::subsasgn(), octave_base_value::subsasgn(), octave_class::subsasgn_common(), octave_perm_matrix::subsref(), octave_base_scalar< ST >::subsref(), octave_mex_function::subsref(), octave_base_diag< DMT, MT >::subsref(), octave_builtin::subsref(), octave_base_matrix< MT >::subsref(), octave_base_sparse< T >::subsref(), octave_fcn_handle::subsref(), octave_cell::subsref(), octave_range::subsref(), octave_user_script::subsref(), octave_base_value::subsref(), octave_user_function::subsref(), try_cellfun_internal_ops(), octave_value::unary_op_to_assign_op(), base_scaler::unscale(), base_graphics_object::update_axis_limits(), figure::properties::update_papersize(), tree_parameter_list::validate(), radio_values::validate(), color_values::validate(), validate_property_name(), base_property::values_as_cell(), base_property::values_as_string(), base_graphics_object::values_as_string(), base_graphics_object::values_as_struct(), tree_evaluator::visit_complex_for_command(), tree_evaluator::visit_simple_for_command(), tree_evaluator::visit_statement_list(), tree_evaluator::visit_switch_command(), warning_query(), write_file(), xpow(), mex::~mex(), and octave_oncleanup::~octave_oncleanup().

static void error_1 ( std::ostream &  os,
const char name,
const char id,
const char fmt,
va_list  args,
bool  with_cfn = false 
)
static

Definition at line 275 of file error.cc.

References panic(), strsave(), and verror().

Referenced by defun_usage_message_1(), error_2(), rethrow_error(), vparse_error(), and vparse_error_with_id().

static void error_2 ( const char id,
const char fmt,
va_list  args,
bool  with_cfn = false 
)
static
void error_with_cfn ( const char fmt,
  ... 
)
void error_with_id ( const char id,
const char fmt,
  ... 
)
void error_with_id_cfn ( const char id,
const char fmt,
  ... 
)

Definition at line 528 of file error.cc.

References verror_with_id_cfn().

OCTAVE_EXPORT octave_value_list Fbeep_on_error ( const octave_value_list args,
int  nargout 
)

Definition at line 1958 of file error.cc.

References SET_INTERNAL_VARIABLE.

Referenced by maximum_braindamage().

OCTAVE_EXPORT octave_value_list Fdebug_on_error ( const octave_value_list args,
int  nargout 
)

Definition at line 1977 of file error.cc.

References SET_INTERNAL_VARIABLE.

OCTAVE_EXPORT octave_value_list Fdebug_on_warning ( const octave_value_list args,
int  nargout 
)

Definition at line 1994 of file error.cc.

References SET_INTERNAL_VARIABLE.

OCTAVE_EXPORT octave_value_list Ferror ( const octave_value_list args,
int   
)
OCTAVE_EXPORT octave_value_list Flasterr ( const octave_value_list args,
int  nargout 
)
OCTAVE_EXPORT octave_value_list Flasterror ( const octave_value_list args,
int   
)
OCTAVE_EXPORT octave_value_list Flastwarn ( const octave_value_list args,
int  nargout 
)
OCTAVE_EXPORT octave_value_list Frethrow ( const octave_value_list args,
int   
)
octave_value_list Fsprintf ( const octave_value_list ,
int   
)
OCTAVE_EXPORT octave_value_list Fusage ( const octave_value_list args,
int   
)

Definition at line 1940 of file error.cc.

References handle_message(), and usage_with_id().

OCTAVE_EXPORT octave_value_list Fwarning ( const octave_value_list args,
int  nargout 
)
static std::string handle_message ( error_fun  f,
const char id,
const char msg,
const octave_value_list args,
bool  have_fmt 
)
static
void initialize_default_warning_state ( void  )
static octave_map initialize_last_error_stack ( void  )
static

Definition at line 143 of file error.cc.

References octave_call_stack::empty_backtrace().

Referenced by Flasterror(), Frethrow(), and verror().

static void initialize_warning_options ( const std::string &  state)
static

Definition at line 132 of file error.cc.

References octave_scalar_map::setfield().

Referenced by Fwarning(), and initialize_default_warning_state().

void interpreter_try ( unwind_protect frame)
std::string last_error_id ( void  )

Definition at line 2006 of file error.cc.

References Vlast_error_id.

Referenced by get_output_list(), and tree_evaluator::visit_try_catch_command().

std::string last_error_message ( void  )

Definition at line 2000 of file error.cc.

References Vlast_error_message.

Referenced by get_output_list(), and tree_evaluator::visit_try_catch_command().

std::string last_warning_id ( void  )

Definition at line 2018 of file error.cc.

References Vlast_warning_id.

std::string last_warning_message ( void  )

Definition at line 2012 of file error.cc.

References Vlast_warning_message.

static bool maybe_extract_message_id ( const std::string &  caller,
const octave_value_list args,
octave_value_list nargs,
std::string &  id 
)
static

Definition at line 971 of file error.cc.

References octave_value_list::length(), and octave_value_list::resize().

Referenced by Ferror(), and Fwarning().

void message ( const char name,
const char fmt,
  ... 
)
void message_with_id ( const char name,
const char id,
const char fmt,
  ... 
)

Definition at line 338 of file error.cc.

References vmessage_with_id().

void panic ( const char fmt,
  ... 
)

Definition at line 735 of file error.cc.

References discard_error_messages, and verror().

Referenced by symbol_table::alias_built_in_function(), error_1(), and pr_where_2().

void parse_error ( const char fmt,
  ... 
)

Definition at line 702 of file error.cc.

References vparse_error().

void parse_error_with_id ( const char id,
const char fmt,
  ... 
)

Definition at line 717 of file error.cc.

References vparse_error_with_id().

static void pr_where ( const char who)
static
static void pr_where_1 ( const char fmt,
  ... 
)
static

Definition at line 414 of file error.cc.

References pr_where_2().

Referenced by Frethrow(), and pr_where().

static void pr_where_2 ( const char fmt,
va_list  args 
)
static

Definition at line 384 of file error.cc.

References panic(), strsave(), and verror().

Referenced by pr_where_1().

void reset_error_handler ( void  )

Definition at line 123 of file error.cc.

References discard_error_messages.

Referenced by do_octave_atexit(), get_debug_input(), and main_loop().

void rethrow_error ( const char id,
const char fmt,
  ... 
)

Definition at line 726 of file error.cc.

References error_1().

Referenced by Frethrow().

octave_value_list set_warning_state ( const std::string &  id,
const std::string &  state 
)

Definition at line 1598 of file error.cc.

References Fwarning(), and state.

Referenced by disable_warning(), initialize_default_warning_state(), and maximum_braindamage().

octave_value_list set_warning_state ( const octave_value_list args)

Definition at line 1609 of file error.cc.

References Fwarning().

void usage ( const char fmt,
  ... 
)

Definition at line 360 of file error.cc.

References vusage().

Referenced by DEFUN_DLD(), install_error_fcns(), and mk_tmp_hist_file().

void usage_1 ( const char id,
const char fmt,
va_list  args 
)

Definition at line 347 of file error.cc.

References verror().

Referenced by vusage(), and vusage_with_id().

void usage_with_id ( const char id,
const char fmt,
  ... 
)

Definition at line 375 of file error.cc.

References vusage_with_id().

Referenced by Fusage().

static void verror ( bool  save_last_error,
std::ostream &  os,
const char name,
const char id,
const char fmt,
va_list  args,
bool  with_cfn = false 
)
static
void verror ( const char fmt,
va_list  args 
)

Definition at line 477 of file error.cc.

References error_2().

void verror_with_cfn ( const char fmt,
va_list  args 
)

Definition at line 492 of file error.cc.

References error_2().

Referenced by error_with_cfn(), and lo_error_handler().

void verror_with_id ( const char id,
const char fmt,
va_list  args 
)

Definition at line 507 of file error.cc.

References error_2().

Referenced by error_with_id(), and mexErrMsgIdAndTxt().

void verror_with_id_cfn ( const char id,
const char fmt,
va_list  args 
)

Definition at line 522 of file error.cc.

References error_2().

Referenced by error_with_id_cfn(), and lo_error_with_id_handler().

void vmessage ( const char name,
const char fmt,
va_list  args 
)

Definition at line 316 of file error.cc.

References verror().

Referenced by message().

void vmessage_with_id ( const char name,
const char id,
const char fmt,
va_list  args 
)

Definition at line 331 of file error.cc.

References verror().

Referenced by message_with_id().

void vparse_error ( const char fmt,
va_list  args 
)

Definition at line 696 of file error.cc.

References error_1().

Referenced by parse_error().

void vparse_error_with_id ( const char id,
const char fmt,
va_list  args 
)

Definition at line 711 of file error.cc.

References error_1().

Referenced by parse_error_with_id().

void vusage ( const char fmt,
va_list  args 
)

Definition at line 354 of file error.cc.

References usage_1().

Referenced by usage().

void vusage_with_id ( const char id,
const char fmt,
va_list  args 
)

Definition at line 369 of file error.cc.

References usage_1().

Referenced by usage_with_id().

static void vwarning ( const char name,
const char id,
const char fmt,
va_list  args 
)
static
void vwarning ( const char fmt,
va_list  args 
)

Definition at line 666 of file error.cc.

References warning_1().

void vwarning_with_id ( const char id,
const char fmt,
va_list  args 
)

Definition at line 681 of file error.cc.

References warning_1().

Referenced by mexWarnMsgIdAndTxt(), and warning_with_id().

void warning ( const char fmt,
  ... 
)

Definition at line 672 of file error.cc.

References vwarning().

Referenced by check_starting_gui(), files_dock_widget::contextmenu_delete(), octave_base_int_matrix< T >::convert_to_str_internal(), octave_base_int_scalar< T >::convert_to_str_internal(), octave_sparse_matrix::convert_to_str_internal(), octave_float_matrix::convert_to_str_internal(), octave_matrix::convert_to_str_internal(), octave_scalar::convert_to_str_internal(), octave_float_scalar::convert_to_str_internal(), daspk_user_function(), daspk_user_jacobian(), dasrt_user_cf(), dasrt_user_f(), dasrt_user_j(), dassl_user_function(), dassl_user_jacobian(), DEFUN_DLD(), load_path::do_add(), ft_manager::do_get_font(), do_load(), do_minmax_body(), octave_value_typeinfo::do_register_assign_op(), octave_value_typeinfo::do_register_assignany_op(), octave_value_typeinfo::do_register_binary_class_op(), octave_value_typeinfo::do_register_binary_op(), octave_value_typeinfo::do_register_cat_op(), octave_value_typeinfo::do_register_non_const_unary_op(), octave_value_typeinfo::do_register_pref_assign_conv(), octave_value_typeinfo::do_register_type_conv_op(), octave_value_typeinfo::do_register_unary_class_op(), octave_value_typeinfo::do_register_unary_op(), octave_value_typeinfo::do_register_widening_op(), load_path::do_remove(), do_save(), do_string_escapes(), do_who(), dump_octave_core(), eigs_func(), extract_function(), F__profiler_data__(), F__profiler_reset__(), Fbalance(), Fclear(), Fcputime(), Fdebug_jit(), Ffreport(), Finv(), Fjit_enable(), Fjit_startcnt(), Fload(), Flookup(), Fpause(), Fpinv(), Fquadcc(), mex::free(), mex::free_value(), Fremove_input_event_hook(), Frmpath(), Fsave(), Fschur(), Fsleep(), Fspparms(), Fsum(), Ftic(), Fusleep(), Fwaitfor(), axes::properties::get_axis_limits(), ft_render::ft_font::get_face(), get_fcn_files(), load_path::dir_info::get_file_list(), mex::global_mark(), mex::global_unmark(), gripe_dim_too_large(), gripe_empty_arg(), gripe_invalid_value_specified(), gripe_wrong_type_arg(), octave_base_lexer::handle_end_of_input(), hdf5_read_next_data(), load_path::dir_info::initialize(), initialize_error_handlers(), install_error_fcns(), octave_class::load_ascii(), octave_class::load_binary(), octave_class::load_hdf5(), lsode_user_function(), lsode_user_jacobian(), mex::mark(), mex::mark_foreign(), maybe_initialize_magick(), maybe_warn_exclusive(), mexWarnMsgTxt(), octave_oncleanup::octave_oncleanup(), parse_save_options(), quad_float_user_function(), quad_user_function(), raw_mode(), read_file(), read_mat5_binary_element(), read_mat5_binary_file_header(), octave_class::reconstruct_exemplar(), octave_complex_diag_matrix::save_binary(), octave_diag_matrix::save_binary(), octave_sparse_complex_matrix::save_binary(), octave_sparse_matrix::save_binary(), octave_complex_matrix::save_binary(), octave_matrix::save_binary(), octave_sparse_complex_matrix::save_hdf5(), octave_sparse_matrix::save_hdf5(), octave_complex_matrix::save_hdf5(), octave_matrix::save_hdf5(), save_mat_ascii_data(), save_three_d(), save_vars(), ft_render::set_color(), set_DASPK_options(), set_DASRT_options(), set_DASSL_options(), set_internal_variable(), set_LSODE_options(), ft_render::set_mode(), set_Quad_options(), show_DASPK_options(), show_DASRT_options(), show_DASSL_options(), show_LSODE_options(), show_Quad_options(), solve_singularity_warning(), mex::unmark(), mex::unmark_foreign(), load_path::dir_info::update(), ft_render::visit(), warn_save_load(), write_file(), write_mat5_array(), xpow(), and octave_oncleanup::~octave_oncleanup().

static void warning_1 ( const char id,
const char fmt,
va_list  args 
)
static
int warning_enabled ( const std::string &  id)
static octave_scalar_map warning_query ( const std::string &  id_arg)
static
void warning_with_id ( const char id,
const char fmt,
  ... 
)

Variable Documentation

int buffer_error_messages = 0
bool discard_error_messages = false
bool discard_warning_messages = false

Definition at line 120 of file error.cc.

Referenced by generate_struct_completions(), vwarning(), and warning_1().

int error_state = 0

Definition at line 100 of file error.cc.

Referenced by base_properties::add_listener(), octave_cell::all_strings(), octave_class::all_strings(), octave_base_value::all_strings(), octave_base_matrix< MT >::assign(), octave_base_sparse< T >::assign(), octave_map::assign(), octave_value::assign(), Octave_map::assign(), attempt_type_conversion(), bitop(), call_mex(), octave_base_value::char_matrix_value(), check_limit_vals(), compare_property_values(), octave_value::complex_vector_value(), convert_cdata(), tree_argument_list::convert_to_const_vector(), convert_to_valid_int(), property::create(), daspk_user_function(), daspk_user_jacobian(), dasrt_user_cf(), dasrt_user_f(), dasrt_user_j(), dassl_user_function(), dassl_user_jacobian(), decode_subscripts(), default_numeric_conversion_function(), DEFUN(), DEFUN_DLD(), DEFUNX(), octave_base_sparse< T >::delete_elements(), octave_map::delete_elements(), base_properties::delete_listener(), dims_to_numel(), dmperm_internal(), do_accumarray_minmax_fun(), load_path::do_add(), octave_call_stack::do_backtrace_error_message(), do_bessel(), do_cat(), do_cellslices_nda(), do_class_concat(), do_cleanup_waitfor_listener(), do_cumminmax_body(), do_cumminmax_red_op(), do_dbstack(), do_dbupdown(), tree_evaluator::do_decl_init_list(), gh_manager::do_execute_callback(), do_fft(), do_fft2(), do_fftn(), do_fread(), do_fwrite(), gtk_manager::do_get_toolkit(), do_global_init(), octave_diag_matrix::do_index_op(), octave_perm_matrix::do_index_op(), octave_base_matrix< MT >::do_index_op(), octave_base_sparse< T >::do_index_op(), octave_range::do_index_op(), octave_char_matrix_str::do_index_op_internal(), do_isglobal(), do_keyboard(), do_load(), octave_dynamic_loader::do_load_mex(), octave_dynamic_loader::do_load_oct(), octave_stream_list::do_lookup(), ch_manager::do_make_curl_handle(), do_mat2cell(), do_minmax_bin_op(), do_minmax_bin_op< charNDArray >(), do_minmax_body(), do_minmax_red_op(), do_minmax_red_op< boolNDArray >(), do_minmax_red_op< charNDArray >(), octave_builtin::do_multi_index_op(), octave_mex_function::do_multi_index_op(), octave_user_script::do_multi_index_op(), octave_user_function::do_multi_index_op(), do_num2cell(), do_object2cell(), do_permute(), octave_base_stream::do_printf(), do_rand(), octave_stream_list::do_remove(), text_label_property::do_set(), color_property::do_set(), row_vector_property::do_set(), handle_property::do_set(), children_property::do_set(), do_simple_cellfun(), do_stream_open(), do_trilu(), tree_evaluator::do_unwind_protect_cleanup_code(), do_who(), octave_class::dotref(), octave_scalar_struct::dotref(), printf_value_cache::double_value(), dump_octave_core(), eigs_complex_func(), eigs_func(), error_2(), tree_decl_elt::eval(), tree_identifier::eval_undefined_error(), gh_manager::execute_callback(), extract_function(), F__accumarray_sum__(), F__accumdim_sum__(), F__calc_dimensions__(), F__contourc__(), F__dispatch__(), F__dump_symtab_info__(), F__ftp__(), F__ftp_ascii__(), F__ftp_binary__(), F__ftp_close__(), F__ftp_cwd__(), F__ftp_delete__(), F__ftp_dir__(), F__ftp_mget__(), F__ftp_mkdir__(), F__ftp_mode__(), F__ftp_mput__(), F__ftp_pwd__(), F__ftp_rename__(), F__ftp_rmdir__(), F__get__(), F__go_axes_init__(), F__go_delete__(), F__go_execute_callback__(), F__go_figure__(), F__image_pixel_size__(), F__lin_interpn__(), F__list_functions__(), F__octave_link_edit_file__(), F__octave_link_file_dialog__(), F__octave_link_input_dialog__(), F__octave_link_list_dialog__(), F__octave_link_message_dialog__(), F__octave_link_question_dialog__(), F__qp__(), F__varval__(), F__which__(), Fadd_input_event_hook(), Faddlistener(), Faddpath(), Faddproperty(), Fairy(), Farrayfun(), Fatexit(), Fbalance(), Fbase64_decode(), Fbase64_encode(), Fbesselh(), Fbetainc(), Fbetaincinv(), Fbitpack(), Fbitshift(), Fblkmm(), Fbsxfun(), Fcanonicalize_file_name(), Fcat(), Fcd(), Fcellfun(), Fcellindexmat(), Fcellslices(), Fchar(), Fclear(), Fcolloc(), Fcompletion_matches(), Fcomplex(), Fcumsum(), Fdaspk(), Fdaspk_options(), Fdasrt(), Fdasrt_options(), Fdassl(), Fdassl_options(), Fdbclear(), Fdbstep(), Fdbstop(), Fdbtype(), Fdellistener(), Fdet(), Fdiag(), Fdiary(), Fdiff(), Fdlmread(), Fdot(), Fdrawnow(), Fdup2(), Fecho(), Feig(), Fellipj(), Feps(), Ferrno(), Fexec(), Fexist(), Feye(), Ffclear(), Ffcntl(), Ffdisp(), Ffeof(), Fferror(), Ffflush(), Ffgetl(), Ffgets(), Ffile_in_loadpath(), Ffile_in_path(), Ffilemarker(), Ffilesep(), Ffilter(), Ffind(), Ffind_dir_in_path(), Ffnmatch(), Ffopen(), Fformat(), Ffprintf(), Ffputs(), Ffread(), Ffrewind(), Ffscanf(), Ffseek(), Ffskipl(), Fftell(), Ffwrite(), Fgammainc(), Fgcd(), Fgenpath(), Fget(), Fget_help_text(), Fget_help_text_from_file(), Fgetenv(), Fgetgrgid(), Fgetgrnam(), Fgetpwnam(), Fgetpwuid(), Fgivens(), Fglob(), Fgmtime(), Fhess(), Fhex2num(), Fhypot(), Fignore_function_time_stamp(), fill_matrix(), symbol_table::fcn_info::fcn_info_rep::find(), Find2sub(), symbol_table::fcn_info::fcn_info_rep::find_user_function(), Finv(), Fisindex(), Fissorted(), Fkill(), Flink(), Flinspace(), Flist_in_columns(), Fload(), octave_value::float_complex_vector_value(), octave_value::float_vector_value(), Flocaltime(), Flookup(), Flsode(), Flsode_options(), Flstat(), Flu(), Fluinc(), Fmake_absolute_filename(), Fmat2cell(), Fmatrix_type(), Fmd5sum(), Fmislocked(), Fmkdir(), Fmkfifo(), Fmkstemp(), Fmktime(), Fmore(), Fmunlock(), Fnorm(), Fnth_element(), Fnum2cell(), Fnum2hex(), Foctave_config_info(), fopen_mode_to_ios_mode(), Fpath(), Fpathsep(), Fpause(), Fpinv(), Fpopen(), Fpopen2(), Fputenv(), Fquad(), Fquad_options(), Fquit(), Fqz(), Frandperm(), Frats(), Freaddir(), Freadline_read_init_file(), Freadlink(), Fregexprep(), Fregister_graphics_toolkit(), Fremove_input_event_hook(), Frename(), Frepelems(), Freset(), Freshape(), Fresize(), Frmdir(), Frmpath(), Frsf2csf(), FS_ISBLK(), FS_ISCHR(), FS_ISDIR(), FS_ISFIFO(), FS_ISLNK(), FS_ISREG(), FS_ISSOCK(), Fsave(), Fschur(), Fset(), Fsize(), Fsleep(), Fspalloc(), Fsparse(), Fspparms(), Fsqrtm(), Fsscanf(), Fstat(), Fstr2double(), Fstrftime(), Fstrncmp(), Fstrncmpi(), Fstrptime(), Fstrvcat(), Fsub2ind(), Fsum(), Fsvd(), Fsyl(), Fsymlink(), Fsystem(), Ftilde_expand(), Ftmpnam(), Ftoc(), Ftypecast(), Fumask(), Furlread(), Furlwrite(), Fusleep(), Fvec(), Fwaitfor(), Fwaitpid(), FWCOREDUMP(), FWEXITSTATUS(), Fwho(), Fwhos(), FWIFCONTINUED(), FWIFEXITED(), FWIFSIGNALED(), FWIFSTOPPED(), FWSTOPSIG(), FWTERMSIG(), Fyes_or_no(), generate_struct_completions(), root_figure::properties::get(), figure::properties::get(), axes::properties::get(), line::properties::get(), text::properties::get(), image::properties::get(), patch::properties::get(), surface::properties::get(), hggroup::properties::get(), uimenu::properties::get(), uicontextmenu::properties::get(), uicontrol::properties::get(), uipanel::properties::get(), uitoolbar::properties::get(), uipushtool::properties::get(), uitoggletool::properties::get(), get_dimensions(), get_lines_and_columns(), get_output_list(), root_figure::properties::get_property(), figure::properties::get_property(), axes::properties::get_property(), line::properties::get_property(), text::properties::get_property(), image::properties::get_property(), patch::properties::get_property(), surface::properties::get_property(), hggroup::properties::get_property(), uimenu::properties::get_property(), uicontextmenu::properties::get_property(), uicontrol::properties::get_property(), uipanel::properties::get_property(), uitoolbar::properties::get_property(), uipushtool::properties::get_property(), uitoggletool::properties::get_property(), get_size(), get_sort_mode_option(), tree_index_expression::get_struct_index(), get_user_input(), octave_stream::getl(), octave_stream::gets(), gripe_library_execution_error(), identity_matrix(), Cell::index(), octave_map::index(), Octave_map::index(), octave_class::index_vector(), tm_row_const::tm_row_const_rep::init(), tm_const::init(), printf_value_cache::int_value(), octave_value::int_vector_value(), interactive_input(), octave_value::is_equal(), is_handle(), is_handle_visible(), tree_expression::is_logically_true(), is_valid_function(), jit_typeinfo::jit_typeinfo(), tree_switch_case::label_matches(), octave_struct::load_ascii(), octave_char_matrix_str::load_ascii(), octave_class::load_ascii(), octave_lazy_index::load_ascii(), octave_scalar_struct::load_ascii(), octave_float_complex_diag_matrix::load_binary(), octave_float_diag_matrix::load_binary(), octave_complex_diag_matrix::load_binary(), octave_diag_matrix::load_binary(), octave_sparse_bool_matrix::load_binary(), octave_struct::load_binary(), octave_sparse_complex_matrix::load_binary(), octave_sparse_matrix::load_binary(), octave_float_complex_matrix::load_binary(), octave_char_matrix_str::load_binary(), octave_complex_matrix::load_binary(), octave_float_complex::load_binary(), octave_complex::load_binary(), octave_float_matrix::load_binary(), octave_class::load_binary(), octave_lazy_index::load_binary(), octave_matrix::load_binary(), octave_scalar::load_binary(), octave_float_scalar::load_binary(), octave_scalar_struct::load_binary(), octave_struct::load_hdf5(), octave_fcn_handle::load_hdf5(), octave_class::load_hdf5(), octave_scalar_struct::load_hdf5(), looks_like_struct(), lsode_user_function(), lsode_user_jacobian(), tree_index_expression::lvalue(), main_loop(), tree_index_expression::make_arg_struct(), make_graphics_object(), tree_colon_expression::make_range(), make_subs_cell(), make_value_list(), octave_matrix::map(), octave_scalar::map(), octave_fcn_binder::maybe_binder(), Octave_map::maybe_delete_elements(), mexCallMATLAB(), mexEvalString(), mexGet(), mexGetVariable(), mexPutVariable(), octave_value::next_subsref(), octave_base_value::nint_value(), normalize_fopen_mode(), octave_base_value::numeric_assign(), oct_assignop_assign(), oct_assignop_conv_and_assign(), octave_class::octave_class(), octave_execute_interpreter(), octave_handle::octave_handle(), octave_value::octave_idx_type_vector_value(), octcellregexp(), octregexp(), octregexprep(), parse_dbfunction_params(), parse_options(), Octave_map::permute(), permute_to_correct_order(), qp(), quad_float_user_function(), quad_user_function(), quit_loop_now(), octave_stream::read(), read_ascii_data(), read_file(), read_mat5_binary_element(), read_mat5_binary_file_header(), read_mat_ascii_data(), read_mat_binary_data(), octave_class::reconstruct_exemplar(), base_graphics_object::remove_all_listeners(), reparent(), base_property::run_listeners(), tree_index_expression::rvalue(), tree_identifier::rvalue(), tree_multi_assignment::rvalue(), tree_matrix::rvalue1(), tree_simple_assignment::rvalue1(), tree_colon_expression::rvalue1(), tree_binary_expression::rvalue1(), tree_prefix_expression::rvalue1(), tree_postfix_expression::rvalue1(), tree_boolean_expression::rvalue1(), safe_symbol_lookup(), octave_class::save_ascii(), octave_class::save_binary(), octave_class::save_hdf5(), save_mat5_binary_element(), save_mat_ascii_data(), save_vars(), octave_base_value::scalar_map_value(), octave_base_stream::scanf(), octave_stream::seek(), gnuplot_graphics_toolkit::send_quit(), base_property::set(), property_list::set(), graphics_object::set(), root_figure::properties::set(), figure::properties::set(), axes::properties::set(), line::properties::set(), text::properties::set(), image::properties::set(), patch::properties::set(), surface::properties::set(), hggroup::properties::set(), uimenu::properties::set(), uicontextmenu::properties::set(), uicontrol::properties::set(), uipanel::properties::set(), uitoolbar::properties::set(), uipushtool::properties::set(), uitoggletool::properties::set(), figure::properties::set___enhanced__(), figure::properties::set___graphics_toolkit__(), figure::properties::set___guidata__(), axes::properties::set___hold_all__(), uimenu::properties::set___object__(), uicontextmenu::properties::set___object__(), uicontrol::properties::set___object__(), uipanel::properties::set___object__(), uitoolbar::properties::set___object__(), uipushtool::properties::set___object__(), uitoggletool::properties::set___object__(), figure::properties::set___plot_stream__(), uimenu::properties::set_accelerator(), axes::properties::set_activepositionproperty(), axes::properties::set_alim(), image::properties::set_alim(), patch::properties::set_alim(), surface::properties::set_alim(), hggroup::properties::set_alim(), image::properties::set_aliminclude(), patch::properties::set_aliminclude(), surface::properties::set_aliminclude(), hggroup::properties::set_aliminclude(), axes::properties::set_alimmode(), image::properties::set_alphadata(), surface::properties::set_alphadata(), image::properties::set_alphadatamapping(), patch::properties::set_alphadatamapping(), surface::properties::set_alphadatamapping(), figure::properties::set_alphamap(), axes::properties::set_ambientlightcolor(), patch::properties::set_ambientstrength(), surface::properties::set_ambientstrength(), axes::properties::set_autopos_tag(), text::properties::set_autopos_tag(), patch::properties::set_backfacelighting(), surface::properties::set_backfacelighting(), text::properties::set_backgroundcolor(), uicontrol::properties::set_backgroundcolor(), uipanel::properties::set_backgroundcolor(), base_properties::set_beingdeleted(), uipanel::properties::set_bordertype(), uipanel::properties::set_borderwidth(), axes::properties::set_box(), base_properties::set_busyaction(), base_properties::set_buttondownfcn(), figure::properties::set_buttondownfcn(), uimenu::properties::set_callback(), uicontextmenu::properties::set_callback(), uicontrol::properties::set_callback(), root_figure::properties::set_callbackobject(), axes::properties::set_cameraposition(), axes::properties::set_camerapositionmode(), axes::properties::set_cameratarget(), axes::properties::set_cameratargetmode(), axes::properties::set_cameraupvector(), axes::properties::set_cameraupvectormode(), axes::properties::set_cameraviewangle(), axes::properties::set_cameraviewanglemode(), image::properties::set_cdata(), patch::properties::set_cdata(), surface::properties::set_cdata(), uicontrol::properties::set_cdata(), uipushtool::properties::set_cdata(), uitoggletool::properties::set_cdata(), image::properties::set_cdatamapping(), patch::properties::set_cdatamapping(), surface::properties::set_cdatamapping(), surface::properties::set_cdatasource(), uimenu::properties::set_checked(), base_properties::set_children(), uipushtool::properties::set_clickedcallback(), uitoggletool::properties::set_clickedcallback(), axes::properties::set_clim(), image::properties::set_clim(), patch::properties::set_clim(), surface::properties::set_clim(), hggroup::properties::set_clim(), image::properties::set_climinclude(), patch::properties::set_climinclude(), surface::properties::set_climinclude(), hggroup::properties::set_climinclude(), axes::properties::set_climmode(), base_properties::set_clipping(), uicontrol::properties::set_clipping(), figure::properties::set_closerequestfcn(), figure::properties::set_color(), axes::properties::set_color(), line::properties::set_color(), text::properties::set_color(), figure::properties::set_colormap(), axes::properties::set_colororder(), root_figure::properties::set_commandwindowsize(), base_properties::set_createfcn(), figure::properties::set_currentaxes(), figure::properties::set_currentcharacter(), root_figure::properties::set_currentfigure(), figure::properties::set_currentobject(), figure::properties::set_currentpoint(), axes::properties::set_currentpoint(), set_DASPK_options(), set_DASRT_options(), set_DASSL_options(), axes::properties::set_dataaspectratio(), axes::properties::set_dataaspectratiomode(), base_properties::set_deletefcn(), root_figure::properties::set_diary(), root_figure::properties::set_diaryfile(), patch::properties::set_diffusestrength(), surface::properties::set_diffusestrength(), line::properties::set_displayname(), text::properties::set_displayname(), patch::properties::set_displayname(), surface::properties::set_displayname(), hggroup::properties::set_displayname(), figure::properties::set_dockcontrols(), figure::properties::set_doublebuffer(), axes::properties::set_drawmode(), base_properties::set_dynamic(), root_figure::properties::set_echo(), patch::properties::set_edgealpha(), surface::properties::set_edgealpha(), text::properties::set_edgecolor(), patch::properties::set_edgecolor(), surface::properties::set_edgecolor(), patch::properties::set_edgelighting(), surface::properties::set_edgelighting(), text::properties::set_editing(), uimenu::properties::set_enable(), uicontrol::properties::set_enable(), uipushtool::properties::set_enable(), uitoggletool::properties::set_enable(), line::properties::set_erasemode(), text::properties::set_erasemode(), image::properties::set_erasemode(), patch::properties::set_erasemode(), surface::properties::set_erasemode(), hggroup::properties::set_erasemode(), root_figure::properties::set_errormessage(), text::properties::set_extent(), uicontrol::properties::set_extent(), patch::properties::set_facealpha(), surface::properties::set_facealpha(), patch::properties::set_facecolor(), surface::properties::set_facecolor(), patch::properties::set_facelighting(), surface::properties::set_facelighting(), patch::properties::set_faces(), patch::properties::set_facevertexalphadata(), patch::properties::set_facevertexcdata(), figure::properties::set_filename(), root_figure::properties::set_fixedwidthfontname(), uimenu::properties::set_fltk_label(), axes::properties::set_fontangle(), text::properties::set_fontangle(), uicontrol::properties::set_fontangle(), uipanel::properties::set_fontangle(), axes::properties::set_fontname(), text::properties::set_fontname(), uicontrol::properties::set_fontname(), uipanel::properties::set_fontname(), axes::properties::set_fontsize(), text::properties::set_fontsize(), uicontrol::properties::set_fontsize(), uipanel::properties::set_fontsize(), axes::properties::set_fontunits(), text::properties::set_fontunits(), uicontrol::properties::set_fontunits(), uipanel::properties::set_fontunits(), axes::properties::set_fontweight(), text::properties::set_fontweight(), uicontrol::properties::set_fontweight(), uipanel::properties::set_fontweight(), uimenu::properties::set_foregroundcolor(), uicontrol::properties::set_foregroundcolor(), uipanel::properties::set_foregroundcolor(), root_figure::properties::set_format(), root_figure::properties::set_formatspacing(), base_properties::set_from_list(), axes::properties::set_gridlinestyle(), base_properties::set_handlevisibility(), uipanel::properties::set_highlightcolor(), base_properties::set_hittest(), text::properties::set_horizontalalignment(), uicontrol::properties::set_horizontalalignment(), text::properties::set_horizontalalignmentmode(), figure::properties::set_integerhandle(), set_internal_variable(), axes::properties::set_interpreter(), line::properties::set_interpreter(), text::properties::set_interpreter(), patch::properties::set_interpreter(), surface::properties::set_interpreter(), base_properties::set_interruptible(), figure::properties::set_inverthardcopy(), figure::properties::set_keypressfcn(), uicontrol::properties::set_keypressfcn(), figure::properties::set_keyreleasefcn(), uimenu::properties::set_label(), root_figure::properties::set_language(), axes::properties::set_layer(), line::properties::set_linestyle(), text::properties::set_linestyle(), patch::properties::set_linestyle(), surface::properties::set_linestyle(), axes::properties::set_linestyleorder(), axes::properties::set_linewidth(), line::properties::set_linewidth(), text::properties::set_linewidth(), patch::properties::set_linewidth(), surface::properties::set_linewidth(), uicontrol::properties::set_listboxtop(), axes::properties::set_looseinset(), set_LSODE_options(), text::properties::set_margin(), line::properties::set_marker(), patch::properties::set_marker(), surface::properties::set_marker(), line::properties::set_markeredgecolor(), patch::properties::set_markeredgecolor(), surface::properties::set_markeredgecolor(), line::properties::set_markerfacecolor(), patch::properties::set_markerfacecolor(), surface::properties::set_markerfacecolor(), line::properties::set_markersize(), patch::properties::set_markersize(), surface::properties::set_markersize(), uicontrol::properties::set_max(), figure::properties::set_menubar(), surface::properties::set_meshstyle(), uicontrol::properties::set_min(), figure::properties::set_mincolormap(), axes::properties::set_minorgridlinestyle(), root_figure::properties::set_monitorpositions(), figure::properties::set_name(), figure::properties::set_nextplot(), axes::properties::set_nextplot(), patch::properties::set_normalmode(), surface::properties::set_normalmode(), figure::properties::set_numbertitle(), uitoggletool::properties::set_offcallback(), uitoggletool::properties::set_oncallback(), figure::properties::set_outerposition(), axes::properties::set_outerposition(), figure::properties::set_paperorientation(), figure::properties::set_paperposition(), figure::properties::set_paperpositionmode(), figure::properties::set_papersize(), figure::properties::set_papertype(), figure::properties::set_paperunits(), base_properties::set_parent(), axes::properties::set_plotboxaspectratio(), axes::properties::set_plotboxaspectratiomode(), figure::properties::set_pointer(), root_figure::properties::set_pointerlocation(), figure::properties::set_pointershapecdata(), figure::properties::set_pointershapehotspot(), root_figure::properties::set_pointerwindow(), figure::properties::set_position(), axes::properties::set_position(), text::properties::set_position(), uimenu::properties::set_position(), uicontextmenu::properties::set_position(), uicontrol::properties::set_position(), uipanel::properties::set_position(), text::properties::set_positionmode(), axes::properties::set_projection(), set_property_in_handle(), set_Quad_options(), root_figure::properties::set_recursionlimit(), figure::properties::set_renderer(), figure::properties::set_renderermode(), figure::properties::set_resize(), figure::properties::set_resizefcn(), uipanel::properties::set_resizefcn(), text::properties::set_rotation(), text::properties::set_rotationmode(), root_figure::properties::set_screendepth(), root_figure::properties::set_screenpixelsperinch(), root_figure::properties::set_screensize(), base_properties::set_selected(), base_properties::set_selectionhighlight(), figure::properties::set_selectiontype(), uimenu::properties::set_separator(), uipushtool::properties::set_separator(), uitoggletool::properties::set_separator(), uipanel::properties::set_shadowcolor(), root_figure::properties::set_showhiddenhandles(), uicontrol::properties::set_sliderstep(), patch::properties::set_specularcolorreflectance(), surface::properties::set_specularcolorreflectance(), patch::properties::set_specularexponent(), surface::properties::set_specularexponent(), patch::properties::set_specularstrength(), surface::properties::set_specularstrength(), uitoggletool::properties::set_state(), text::properties::set_string(), uicontrol::properties::set_string(), axes::properties::set_text_child(), axes::properties::set_tickdir(), axes::properties::set_tickdirmode(), axes::properties::set_ticklength(), axes::properties::set_tightinset(), uipanel::properties::set_title(), uipanel::properties::set_titleposition(), figure::properties::set_toolbar(), uicontrol::properties::set_tooltipstring(), uipushtool::properties::set_tooltipstring(), uitoggletool::properties::set_tooltipstring(), base_properties::set_uicontextmenu(), root_figure::properties::set_units(), figure::properties::set_units(), axes::properties::set_units(), text::properties::set_units(), uicontrol::properties::set_units(), uipanel::properties::set_units(), base_properties::set_userdata(), uicontrol::properties::set_value(), graphics_object::set_value_or_default(), patch::properties::set_vertexnormals(), surface::properties::set_vertexnormals(), text::properties::set_verticalalignment(), uicontrol::properties::set_verticalalignment(), text::properties::set_verticalalignmentmode(), patch::properties::set_vertices(), axes::properties::set_view(), base_properties::set_visible(), figure::properties::set_visible(), figure::properties::set_windowbuttondownfcn(), figure::properties::set_windowbuttonmotionfcn(), figure::properties::set_windowbuttonupfcn(), figure::properties::set_windowkeypressfcn(), figure::properties::set_windowkeyreleasefcn(), figure::properties::set_windowscrollwheelfcn(), figure::properties::set_windowstyle(), figure::properties::set_wvisual(), figure::properties::set_wvisualmode(), axes::properties::set_x_normrendertransform(), axes::properties::set_x_projectiontransform(), axes::properties::set_x_rendertransform(), axes::properties::set_x_viewporttransform(), axes::properties::set_x_viewtransform(), axes::properties::set_xaxislocation(), axes::properties::set_xcolor(), line::properties::set_xdata(), image::properties::set_xdata(), patch::properties::set_xdata(), surface::properties::set_xdata(), line::properties::set_xdatasource(), surface::properties::set_xdatasource(), axes::properties::set_xdir(), figure::properties::set_xdisplay(), axes::properties::set_xgrid(), axes::properties::set_xlim(), line::properties::set_xlim(), text::properties::set_xlim(), image::properties::set_xlim(), patch::properties::set_xlim(), surface::properties::set_xlim(), hggroup::properties::set_xlim(), line::properties::set_xliminclude(), text::properties::set_xliminclude(), image::properties::set_xliminclude(), patch::properties::set_xliminclude(), surface::properties::set_xliminclude(), hggroup::properties::set_xliminclude(), axes::properties::set_xlimmode(), axes::properties::set_xminorgrid(), axes::properties::set_xminortick(), axes::properties::set_xmtick(), axes::properties::set_xscale(), axes::properties::set_xtick(), axes::properties::set_xticklabel(), axes::properties::set_xticklabelmode(), axes::properties::set_xtickmode(), figure::properties::set_xvisual(), figure::properties::set_xvisualmode(), axes::properties::set_yaxislocation(), axes::properties::set_ycolor(), line::properties::set_ydata(), image::properties::set_ydata(), patch::properties::set_ydata(), surface::properties::set_ydata(), line::properties::set_ydatasource(), surface::properties::set_ydatasource(), axes::properties::set_ydir(), axes::properties::set_ygrid(), axes::properties::set_ylim(), line::properties::set_ylim(), text::properties::set_ylim(), image::properties::set_ylim(), patch::properties::set_ylim(), surface::properties::set_ylim(), hggroup::properties::set_ylim(), line::properties::set_yliminclude(), text::properties::set_yliminclude(), image::properties::set_yliminclude(), patch::properties::set_yliminclude(), surface::properties::set_yliminclude(), hggroup::properties::set_yliminclude(), axes::properties::set_ylimmode(), axes::properties::set_yminorgrid(), axes::properties::set_yminortick(), axes::properties::set_ymtick(), axes::properties::set_yscale(), axes::properties::set_ytick(), axes::properties::set_yticklabel(), axes::properties::set_yticklabelmode(), axes::properties::set_ytickmode(), axes::properties::set_zcolor(), line::properties::set_zdata(), patch::properties::set_zdata(), surface::properties::set_zdata(), line::properties::set_zdatasource(), surface::properties::set_zdatasource(), axes::properties::set_zdir(), axes::properties::set_zgrid(), axes::properties::set_zlim(), line::properties::set_zlim(), text::properties::set_zlim(), patch::properties::set_zlim(), surface::properties::set_zlim(), hggroup::properties::set_zlim(), line::properties::set_zliminclude(), text::properties::set_zliminclude(), patch::properties::set_zliminclude(), surface::properties::set_zliminclude(), hggroup::properties::set_zliminclude(), axes::properties::set_zlimmode(), axes::properties::set_zminorgrid(), axes::properties::set_zminortick(), axes::properties::set_zmtick(), axes::properties::set_zscale(), axes::properties::set_ztick(), axes::properties::set_zticklabel(), axes::properties::set_zticklabelmode(), axes::properties::set_ztickmode(), single_type_concat(), single_type_concat_map(), octave_stream::skipl(), Octave_map::squeeze(), octave_base_value::string_value(), printf_value_cache::string_value(), octave_base_diag< DMT, MT >::subsasgn(), octave_struct::subsasgn(), octave_cell::subsasgn(), octave_scalar_struct::subsasgn(), octave_class::subsasgn_common(), octave_struct::subsref(), octave_cell::subsref(), octave_class::subsref(), text_label_property::text_label_property(), try_cellfun_internal_ops(), load_path::dir_info::update(), tree_parameter_list::validate(), octave_value::vector_value(), verror(), tree_evaluator::visit_break_command(), tree_evaluator::visit_complex_for_command(), tree_evaluator::visit_continue_command(), tree_evaluator::visit_do_until_command(), tree_evaluator::visit_if_command_list(), tree_evaluator::visit_return_command(), tree_evaluator::visit_simple_for_command(), tree_evaluator::visit_statement(), tree_evaluator::visit_statement_list(), tree_evaluator::visit_switch_command(), tree_evaluator::visit_try_catch_command(), tree_evaluator::visit_while_command(), waitfor_del_listener(), waitfor_listener(), octave_stream::write(), write_file(), xpow(), and octave_oncleanup::~octave_oncleanup().

bool Vbacktrace_on_warning = false
static

Definition at line 64 of file error.cc.

Referenced by Fwarning(), and warning_1().

bool Vbeep_on_error = false
static

Definition at line 51 of file error.cc.

Referenced by verror().

bool Vdebug_on_error = false
bool Vdebug_on_warning = false
std::string Vlast_error_id
static

Definition at line 86 of file error.cc.

Referenced by Flasterr(), Flasterror(), last_error_id(), and verror().

std::string Vlast_error_message
static

Definition at line 77 of file error.cc.

Referenced by Flasterr(), Flasterror(), last_error_message(), and verror().

octave_map Vlast_error_stack
static

Definition at line 89 of file error.cc.

std::string Vlast_warning_id
static

Definition at line 83 of file error.cc.

Referenced by Flastwarn(), Fwarning(), last_warning_id(), vwarning(), and warning_query().

std::string Vlast_warning_message
static

Definition at line 80 of file error.cc.

Referenced by Flastwarn(), Fwarning(), last_warning_message(), and vwarning().

bool Vquiet_warning = false
static

Definition at line 71 of file error.cc.

Referenced by Fwarning(), and vwarning().

bool Vverbose_warning
static

Definition at line 67 of file error.cc.

Referenced by Fwarning().

octave_map warning_options
static

Definition at line 74 of file error.cc.

Referenced by Fwarning().

int warning_state = 0

Definition at line 109 of file error.cc.

Referenced by generate_struct_completions().