GNU Octave  4.2.1
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
Namespaces | Macros | Functions | Variables
error.h File Reference
#include "octave-config.h"
#include <cstdarg>
#include <string>
#include "unwind-prot.h"
Include dependency graph for error.h:

Go to the source code of this file.

Namespaces

 octave
 Octave interface to the compression and uncompression libraries.
 

Macros

#define panic_impossible()   panic ("impossible state reached in file '%s' at line %d", __FILE__, __LINE__)
 

Functions

OCTINTERP_API void defun_usage_message (const std::string &msg)
 
OCTINTERP_API void disable_warning (const std::string &id)
 
OCTAVE_NORETURN OCTINTERP_API void error (const char *fmt,...)
 
OCTAVE_NORETURN OCTINTERP_API void error (octave::execution_exception &, const char *fmt,...)
 
OCTAVE_NORETURN OCTINTERP_API void error_with_cfn (const char *fmt,...)
 
OCTAVE_NORETURN OCTINTERP_API void error_with_id (const char *id, const char *fmt,...)
 
OCTAVE_NORETURN OCTINTERP_API void error_with_id_cfn (const char *id, const char *fmt,...)
 
OCTINTERP_API void initialize_default_warning_state (void)
 
OCTINTERP_API void interpreter_try (octave::unwind_protect &)
 
OCTINTERP_API std::string last_error_id (void)
 
OCTINTERP_API std::string last_error_message (void)
 
OCTINTERP_API octave_map last_error_stack (void)
 
OCTINTERP_API std::string last_warning_id (void)
 
OCTINTERP_API std::string last_warning_message (void)
 
OCTINTERP_API void message (const char *name, const char *fmt,...)
 
OCTINTERP_API void message_with_id (const char *id, const char *name, const char *fmt,...)
 
OCTAVE_NORETURN OCTINTERP_API void panic (const char *fmt,...)
 
OCTAVE_NORETURN OCTINTERP_API void parse_error (const char *fmt,...)
 
OCTAVE_NORETURN OCTINTERP_API void parse_error_with_id (const char *id, const char *fmt,...)
 
OCTINTERP_API void reset_error_handler (void)
 
OCTINTERP_API octave_value_list set_warning_state (const std::string &id, const std::string &state)
 
OCTINTERP_API octave_value_list set_warning_state (const octave_value_list &args)
 
OCTAVE_NORETURN OCTINTERP_API void usage (const char *fmt,...)
 
OCTAVE_NORETURN OCTINTERP_API void usage_with_id (const char *id, const char *fmt,...)
 
OCTAVE_NORETURN OCTINTERP_API void verror (const char *fmt, va_list args)
 
OCTAVE_NORETURN OCTINTERP_API void verror (octave::execution_exception &, const char *fmt, va_list args)
 
OCTAVE_NORETURN OCTINTERP_API void verror_with_cfn (const char *fmt, va_list args)
 
OCTAVE_NORETURN OCTINTERP_API void verror_with_id (const char *id, const char *fmt, va_list args)
 
OCTAVE_NORETURN OCTINTERP_API void verror_with_id_cfn (const char *id, const char *fmt, va_list args)
 
OCTINTERP_API void vmessage (const char *name, const char *fmt, va_list args)
 
OCTINTERP_API void vmessage_with_id (const char *id, const char *name, const char *fmt, va_list args)
 
OCTAVE_NORETURN OCTINTERP_API void vparse_error (const char *fmt, va_list args)
 
OCTAVE_NORETURN OCTINTERP_API void vparse_error_with_id (const char *id, const char *fmt, va_list args)
 
OCTAVE_NORETURN OCTINTERP_API void vusage (const char *fmt, va_list args)
 
OCTAVE_NORETURN OCTINTERP_API void vusage_with_id (const char *id, const char *fmt, va_list args)
 
OCTINTERP_API void vwarning (const char *fmt, va_list args)
 
OCTINTERP_API void vwarning_with_id (const char *id, const char *fmt, va_list args)
 
OCTINTERP_API void warning (const char *fmt,...)
 
OCTINTERP_API int warning_enabled (const std::string &id)
 
OCTINTERP_API void warning_with_id (const char *id, const char *fmt,...)
 

Variables

OCTINTERP_API int buffer_error_messages
 
OCTINTERP_API bool discard_error_messages
 
OCTINTERP_API bool discard_warning_messages
 
OCTINTERP_API int error_state
 
OCTINTERP_API int in_try_catch
 
OCTINTERP_API bool Vdebug_on_caught
 
OCTINTERP_API bool Vdebug_on_error
 
OCTINTERP_API bool Vdebug_on_warning
 
OCTINTERP_API int warning_state
 

Macro Definition Documentation

#define panic_impossible ( )    panic ("impossible state reached in file '%s' at line %d", __FILE__, __LINE__)

Definition at line 40 of file error.h.

Referenced by tree_array_list::accept(), mxArray_number::as_octave_value(), mxArray_sparse::as_octave_value(), octave_base_matrix< MT >::assign(), check_access(), octave_function::clone(), hdf5_fstreambase::close(), cdef_class::cdef_class_rep::construct_object(), octave_java::convert_to_str_internal(), DEFUN(), octave_java::dims(), do_history(), octave_java::do_java_get(), octave_java::do_java_set(), octave_java::do_javaMethod(), octave_java::do_javaObject(), octave_user_function::do_multi_index_op(), octave_base_stream::do_scanf(), octave::opengl_renderer::draw_all_lights(), octave::opengl_renderer::draw_axes(), octave::opengl_renderer::draw_axes_boxes(), octave::opengl_renderer::draw_axes_children(), octave::opengl_renderer::draw_axes_planes(), octave::opengl_renderer::draw_image(), octave::opengl_renderer::draw_light(), octave::opengl_renderer::draw_line(), octave::opengl_renderer::draw_marker(), octave::opengl_renderer::draw_patch(), octave::opengl_renderer::draw_pixels(), octave::opengl_renderer::draw_surface(), octave::opengl_renderer::draw_text(), tree_array_list::dup(), octave_function::empty_clone(), octave_value::empty_conv(), octave::opengl_renderer::end_marker(), end_token_as_string(), octave::opengl_renderer::finish(), mxArray_number::get_scalar(), tree_index_expression::get_struct_index(), base_properties::has_property(), octave_java::init(), octave::opengl_renderer::init_gl_context(), base_properties::init_integerhandle(), octave::opengl_renderer::init_marker(), octave_java::is_instance_of(), octave_java::is_java_string(), octave_struct::load_ascii(), octave_float_complex_matrix::load_ascii(), octave_char_matrix_str::load_ascii(), octave_complex_matrix::load_ascii(), octave_cell::load_ascii(), octave_class::load_ascii(), octave_float_matrix::load_ascii(), octave_bool_matrix::load_ascii(), octave_matrix::load_ascii(), octave_scalar_struct::load_ascii(), octave_class::load_binary(), tree_index_expression::lvalue(), tree_index_expression::make_arg_struct(), octave::base_parser::make_assign_op(), octave::base_parser::make_binary_op(), octave::base_parser::make_boolean_op(), octave::base_parser::make_constant(), octave::base_parser::make_decl_command(), make_idx_args(), octave::opengl_renderer::make_marker_list(), octave::base_parser::make_postfix_op(), octave::base_parser::make_prefix_op(), octave_java::map_keys(), octave_print_internal(), octave_scan(), octave_value::octave_value(), hdf5_fstreambase::open(), parse_fcn_file(), octave::lexical_feedback::symbol_table_context::pop(), octave_java::release(), octave::opengl_renderer::render_grid(), octave::opengl_renderer::render_text(), octave::opengl_renderer::render_tickmarks(), octave::opengl_renderer::render_ticktexts(), mxArray_octave_value::request_mutation(), octave_user_function::restore_warning_states(), tree_index_expression::rvalue(), octave_char_matrix_str::save_ascii(), octave::opengl_renderer::set_clipbox(), octave::opengl_renderer::set_clipping(), octave::opengl_renderer::set_color(), octave::opengl_renderer::set_linestyle(), octave::opengl_renderer::set_linewidth(), octave::opengl_renderer::set_normal(), octave::opengl_renderer::set_polygon_offset(), octave::opengl_renderer::set_viewport(), octave::opengl_renderer::setup_opengl_transformation(), octave_base_scalar< ST >::subsasgn(), octave_base_diag< DMT, MT >::subsasgn(), octave_struct::subsasgn(), octave_base_matrix< MT >::subsasgn(), octave_base_sparse< T >::subsasgn(), octave_cell::subsasgn(), octave_java::subsasgn(), octave_base_value::subsasgn(), octave_class::subsasgn_common(), octave_perm_matrix::subsref(), octave_mex_function::subsref(), octave_base_scalar< ST >::subsref(), octave_base_diag< DMT, MT >::subsref(), octave_builtin::subsref(), octave_struct::subsref(), octave_base_matrix< MT >::subsref(), octave_fcn_handle::subsref(), octave_base_sparse< T >::subsref(), octave_java::subsref(), octave_cell::subsref(), octave_class::subsref(), octave_range::subsref(), octave_user_function::subsref(), jit_terminator::successor_index(), tree_breakpoint::take_action(), jit_error_check::variable_to_string(), jit_convert_llvm::visit(), octave::tree_evaluator::visit_anon_fcn_handle(), tree_breakpoint::visit_anon_fcn_handle(), tree_breakpoint::visit_argument_list(), octave::tree_evaluator::visit_argument_list(), tree_breakpoint::visit_binary_expression(), octave::tree_evaluator::visit_binary_expression(), tree_breakpoint::visit_cell(), octave::tree_evaluator::visit_cell(), tree_breakpoint::visit_colon_expression(), octave::tree_evaluator::visit_colon_expression(), tree_breakpoint::visit_constant(), octave::tree_evaluator::visit_constant(), tree_breakpoint::visit_decl_elt(), octave::tree_evaluator::visit_decl_elt(), tree_breakpoint::visit_decl_init_list(), octave::tree_evaluator::visit_decl_init_list(), octave::tree_evaluator::visit_do_until_command(), tree_breakpoint::visit_fcn_handle(), octave::tree_evaluator::visit_fcn_handle(), tree_breakpoint::visit_funcall(), octave::tree_evaluator::visit_funcall(), tree_breakpoint::visit_identifier(), octave::tree_evaluator::visit_identifier(), tree_breakpoint::visit_if_clause(), octave::tree_evaluator::visit_if_clause(), tree_breakpoint::visit_index_expression(), octave::tree_evaluator::visit_index_expression(), tree_print_code::visit_index_expression(), tree_breakpoint::visit_matrix(), octave::tree_evaluator::visit_matrix(), tree_breakpoint::visit_multi_assignment(), octave::tree_evaluator::visit_multi_assignment(), octave::tree_evaluator::visit_octave_user_function(), tree_breakpoint::visit_octave_user_function_header(), octave::tree_evaluator::visit_octave_user_function_header(), tree_breakpoint::visit_octave_user_function_trailer(), octave::tree_evaluator::visit_octave_user_function_trailer(), octave::tree_evaluator::visit_octave_user_script(), tree_breakpoint::visit_parameter_list(), octave::tree_evaluator::visit_parameter_list(), tree_breakpoint::visit_postfix_expression(), octave::tree_evaluator::visit_postfix_expression(), tree_breakpoint::visit_prefix_expression(), octave::tree_evaluator::visit_prefix_expression(), tree_breakpoint::visit_return_list(), octave::tree_evaluator::visit_return_list(), tree_breakpoint::visit_simple_assignment(), octave::tree_evaluator::visit_simple_assignment(), tree_breakpoint::visit_switch_case(), octave::tree_evaluator::visit_switch_case(), octave::tree_evaluator::visit_switch_case_list(), and octave::tree_evaluator::visit_while_command().

Function Documentation

OCTINTERP_API void defun_usage_message ( const std::string msg)

Definition at line 952 of file error.cc.

References defun_usage_message_1().

OCTINTERP_API void disable_warning ( const std::string id)
OCTAVE_NORETURN OCTINTERP_API void error ( const char *  fmt,
  ... 
)

Definition at line 570 of file error.cc.

References verror().

Referenced by QtHandles::__init__(), add_hdf5_data(), base_graphics_object::adopt(), tree_index_expression::append(), tree_colon_expression::append(), mxArray_sparse::as_octave_value(), octave_base_sparse< T >::assign(), octave_map::assign(), octave_value::assign(), bitop(), bitopxx(), octave_map::cat(), cat(), catch(), cdef_class::cdef_class(), cdef_method::cdef_method(), cdef_package::cdef_package(), cdef_property::cdef_property(), octave_char_matrix_str::cellstr_value(), octave_cell::cellstr_value(), check_access(), check_exception(), load_path::check_file_type(), check_hdf5_id_value(), cdef_method::cdef_method_rep::check_method(), check_version(), class_fevalStatic(), class_fromName(), class_getConstant(), octave_oncleanup::clone(), color_values::color_values(), Cell::column(), octave_class::exemplar_info::compare(), OCTAVE_VALUE_INT_MATRIX_T::complex_matrix_value(), octave_map::concat(), bp_table::condition_valid(), octave_link::connect_link(), cdef_class::cdef_class_rep::construct_object(), convert_data(), convert_to_string(), property::create(), color_property::current_value(), double_radio_property::current_value(), bp_table::dbstop_process_map_args(), decode_subscripts(), decompose_binary_op(), base_graphics_object::defaults(), tree_parameter_list::define_from_arg_vector(), DEFUN(), 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(), bp_table::do_add_breakpoint(), do_bessel(), do_colon_op(), do_edit_history(), gh_manager::do_execute_callback(), do_fft(), do_fft2(), do_fftn(), cdef_manager::do_find_class(), cdef_manager::do_find_package(), 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(), octave_dynamic_loader::do_load_mex(), octave_dynamic_loader::do_load_oct(), ch_manager::do_make_curl_handle(), gh_manager::do_make_graphics_handle(), 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_classdef_superclass_ref::do_multi_index_op(), octave_value::do_non_const_unary_op(), do_printf_conv(), do_printf_string(), do_rand(), bp_table::do_remove_all_breakpoints_in_file(), bp_table::do_remove_breakpoint(), gh_manager::do_renumber_figure(), octave::textscan::do_scan(), 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_tril(), do_trilu(), do_triu(), symbol_table::do_update_nest(), do_who(), octave_class::dotref(), double_radio_property::double_value(), dqelg(), err_2_or_3_dim_plot(), err_assign_conversion_failed(), err_bad_result(), err_binary_op(), err_binary_op_conv(), err_cat_op(), err_cat_op_conv(), err_data_conversion(), err_disabled_feature(), err_failed_diagonalization(), err_indexed_assignment(), err_indexed_cs_list(), err_invalid_conversion(), err_invalid_file_id(), err_invalid_index1(), err_invalid_index_for_assignment(), err_invalid_index_type(), err_invalid_inquiry_subscript(), cdef_object_rep::err_invalid_object(), mxArray_base::err_invalid_type(), mxArray_matlab::err_invalid_type(), err_method_access(), err_no_conversion(), err_nonbraced_cs_list_assignment(), err_nonconformant(), err_nonsquare_matrix(), err_not_implemented(), err_property_access(), err_range_invalid(), err_set_invalid(), err_square_matrix_required(), err_string_invalid(), err_unary_op(), err_unary_op_conv(), err_unary_op_conversion_failed(), err_unrecognized_data_fmt(), err_unrecognized_float_fmt(), err_user_returned_invalid(), err_user_supplied_eval(), err_wrong_type_arg(), err_wrong_type_arg_for_binary_op(), err_wrong_type_arg_for_unary_op(), tree_checker::errmsg(), octave::opengl_tesselator::error(), octave_stream::error(), tree_colon_expression::eval_error(), eval_error(), cdef_method::cdef_method_rep::execute(), octave_class::exemplar_info::exemplar_info(), extended_gcd(), extract_function(), F__dsearchn__(), 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__lin_interpn__(), F__magick_read__(), F__pchip_deriv__(), F__zoom__(), Fbalance(), Fcolloc(), Fconv2(), Fdrawnow(), Feig(), Fellipj(), Ffilter(), Ffunctions(), Fget(), filter(), OCTAVE_VALUE_INT_MATRIX_T::float_complex_matrix_value(), OCTAVE_VALUE_INT_MATRIX_T::float_matrix_value(), Fmgorth(), Fmore(), Fnproc(), Fnumfields(), fopen_mode_to_ios_mode(), for(), Frcond(), symbol_table::free_scope(), Fspparms(), Fsvd(), octave::ft_manager::ft_manager(), G__delaunayn__(), G__eigs__(), G__glpk__(), G__init_fltk__(), G__init_gnuplot__(), G__osmesa_print__(), G__voronoi__(), Gamd(), Gaudiodevinfo(), Gaudioread(), Gccolamd(), Gchol(), Gcolamd(), Gconvhulln(), base_property::get(), cdef_object_scalar::get(), base_graphics_object::get(), root_figure::get_default(), base_graphics_object::get_defaults(), base_graphics_object::get_defaults_list(), get_dim_vector(), base_properties::get_dynamic(), root_figure::get_factory_default(), base_graphics_object::get_factory_defaults(), base_graphics_object::get_factory_defaults_list(), 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_properties::get_property_dynamic(), get_region_range(), get_size(), base_graphics_object::get_toolkit(), get_user_input(), cdef_property::cdef_property_rep::get_value(), Gfftw(), octave::gl2ps_print(), glpk(), Gqr(), gripe_2_or_3_dim_plot(), gripe_data_conversion(), gripe_disabled_feature(), gripe_empty_arg(), base_graphics_toolkit::gripe_if_tkit_invalid(), gripe_indexed_cs_list(), gripe_invalid_conversion(), gripe_invalid_inquiry_subscript(), gripe_nonbraced_cs_list_assignment(), gripe_nonconformant(), gripe_not_implemented(), gripe_not_supported(), gripe_range_invalid(), gripe_square_matrix_required(), gripe_string_invalid(), 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(), Gsymbfact(), hdf5_read_next_data_internal(), hex2num(), hook_function::hook_function(), ichol_0(), ichol_checkpivot_complex(), ichol_checkpivot_real(), ichol_t(), identity_matrix(), if(), ilu_0(), index_error(), octave_class::index_vector(), initial_class_path(), initialize_java(), initialize_jvm(), cdef_class::cdef_class_rep::install_method(), octave_errno::instance_ok(), octave_value_typeinfo::instance_ok(), octave_dynamic_loader::instance_ok(), bp_table::instance_ok(), ch_manager::instance_ok(), octave_pager_stream::instance_ok(), octave_shlib_list::instance_ok(), symbol_table::scope_id_cache::instance_ok(), octave_call_stack::instance_ok(), octave::ft_manager::instance_ok(), shortcut_manager::instance_ok(), resource_manager::instance_ok(), display_info::instance_ok(), octave_diary_stream::instance_ok(), octave::interrupt_manager::instance_ok(), octave_stream_list::instance_ok(), load_path::instance_ok(), cdef_manager::instance_ok(), gtk_manager::instance_ok(), gh_manager::instance_ok(), mxArray_number::int_to_ov(), mxArray_base::invalid_type_error(), tree_expression::is_logically_true(), octave_cell::is_sorted(), octave_cell::is_sorted_rows(), octave_cell::is_true(), is_valid_function(), Java_org_octave_Octave_doInvoke(), lin_interpn(), octave_base_int_matrix< T >::load_ascii(), octave_struct::load_ascii(), octave_fcn_handle::load_ascii(), octave_base_int_scalar< T >::load_ascii(), octave_float_complex_matrix::load_ascii(), octave_char_matrix_str::load_ascii(), octave_complex_matrix::load_ascii(), octave_cell::load_ascii(), octave_base_sparse< T >::load_ascii(), octave_float_complex::load_ascii(), octave_complex::load_ascii(), octave_class::load_ascii(), octave_lazy_index::load_ascii(), octave_float_matrix::load_ascii(), octave_base_diag< DMT, MT >::load_ascii(), octave_perm_matrix::load_ascii(), octave_bool_matrix::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_fcn_handle::load_binary(), octave_sparse_matrix::load_binary(), octave_cell::load_binary(), octave_lazy_index::load_binary(), octave_scalar_struct::load_binary(), octave_fcn_handle::load_hdf5(), tree_expression::lvalue(), tree_index_expression::lvalue(), octave_value_list::make_argv(), make_class(), make_fcn_handle(), make_idx_args(), cdef_class::make_meta_class(), 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(), OCTAVE_VALUE_INT_MATRIX_T::matrix_value(), cdef_meta_object_rep::meta_subsref(), cdef_class::cdef_class_rep::meta_subsref(), cdef_method::cdef_method_rep::meta_subsref(), cdef_package::cdef_package_rep::meta_subsref(), mexErrMsgIdAndTxt(), mexErrMsgTxt(), mk_tmp_hist_file(), octave_base_value::nint_value(), 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_oncleanup::octave_oncleanup(), octave_qhull_dims_ok(), octave_range::octave_range(), octcellregexp(), octave_value::op_eq_to_binary_op(), open_diary_file(), octave::opengl_renderer::opengl_renderer(), tree_jit::optimize(), octave_map::optimize_dimensions(), octave_scalar_map::orderfields(), octave_map::orderfields(), base_graphics_object::override_defaults(), package_fromName(), parse_dbfunction_params(), parse_fcn_file(), parse_options(), octave::textscan::parse_options(), symbol_info_list::parse_whos_line_format(), pattern(), permute_to_correct_order(), symbol_table::pop_context(), print_usage(), octave::textscan_format_list::process_conversion(), symbol_table::push_context(), octave::base_lexer::push_start_state(), qelg(), qp(), raw_help_from_docstrings_file(), raw_mode(), read_binary_data(), read_file(), octave::textscan::read_format_once(), read_images(), read_mat5_binary_element(), read_mat5_binary_file_header(), read_mat_ascii_data(), read_mat_binary_data(), read_mat_file_header(), read_text_data(), reinterpret_copy(), base_graphics_object::remove_child(), children_property::renumber(), reparent(), base_graphics_object::reparent(), profile_data_accumulator::reset(), rethrow_error(), color_property::rgb(), octave::parser::run(), octave::push_parser::run(), run_command_and_return_output(), cdef_class::cdef_class_rep::run_constructor(), tree_cell::rvalue(), tree_compound_binary_expression::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_expression::rvalue1(), tree_colon_expression::rvalue1(), save_mat5_binary_element(), save_three_d(), octave_base_value::scalar_map_value(), base_scaler::scale(), property_list::set(), base_graphics_object::set(), graphics_object::set(), root_figure::properties::set(), figure::properties::set(), axes::properties::set(), line::properties::set(), text::properties::set(), image::properties::set(), light::properties::set(), patch::properties::set(), surface::properties::set(), hggroup::properties::set(), uimenu::properties::set(), uicontextmenu::properties::set(), uicontrol::properties::set(), uibuttongroup::properties::set(), uipanel::properties::set(), uitoolbar::properties::set(), uipushtool::properties::set(), uitoggletool::properties::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(), octave::ft_text_renderer::set_mode(), figure::properties::set_papertype(), figure::properties::set_paperunits(), base_properties::set_parent(), symbol_table::set_scope(), symbol_table::set_scope_and_context(), uicontrol::properties::set_style(), axes::properties::set_text_child(), cdef_property::cdef_property_rep::set_value(), octave_map::setfield(), simple_gcd(), octave_class::size(), snarf_file(), octave_cell::sort(), octave_cell::sort_rows_idx(), sparse(), 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_char_matrix_str::string_vector_value(), octave_class::string_vector_value(), octave_base_scalar< ST >::subsasgn(), octave_base_diag< DMT, MT >::subsasgn(), octave_struct::subsasgn(), octave_base_matrix< MT >::subsasgn(), octave_base_sparse< T >::subsasgn(), octave_cell::subsasgn(), octave_java::subsasgn(), octave_scalar_struct::subsasgn(), octave_base_value::subsasgn(), cdef_object_array::subsasgn(), cdef_object_scalar::subsasgn(), octave_classdef::subsasgn(), octave_class::subsasgn_common(), octave_perm_matrix::subsref(), octave_mex_function::subsref(), octave_base_scalar< ST >::subsref(), octave_base_diag< DMT, MT >::subsref(), octave_builtin::subsref(), octave_base_matrix< MT >::subsref(), octave_fcn_handle::subsref(), octave_base_sparse< T >::subsref(), octave_cell::subsref(), octave_java::subsref(), octave_range::subsref(), octave_user_script::subsref(), octave_base_value::subsref(), octave_user_function::subsref(), cdef_object_array::subsref(), cdef_object_scalar::subsref(), symbol_exist(), octave::opengl_tesselator::tess_error(), to_cdef(), to_cdef_ref(), tree_funcall::tree_funcall(), try_cellfun_internal_ops(), octave_value::unary_op_to_assign_op(), unbox(), 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_graphics_object::value_as_string(), base_property::values_as_cell(), base_property::values_as_string(), base_graphics_object::values_as_string(), base_graphics_object::values_as_struct(), octave::tree_evaluator::visit_complex_for_command(), octave::tree_evaluator::visit_simple_for_command(), octave::tree_evaluator::visit_statement_list(), octave::tree_evaluator::visit_switch_command(), write_mat5_array(), xpow(), and mex::~mex().

OCTAVE_NORETURN OCTINTERP_API void error ( octave::execution_exception &  ,
const char *  fmt,
  ... 
)

Definition at line 585 of file error.cc.

References verror().

OCTAVE_NORETURN OCTINTERP_API void error_with_cfn ( const char *  fmt,
  ... 
)
OCTAVE_NORETURN OCTINTERP_API void error_with_id ( const char *  id,
const char *  fmt,
  ... 
)
OCTAVE_NORETURN OCTINTERP_API void error_with_id_cfn ( const char *  id,
const char *  fmt,
  ... 
)

Definition at line 630 of file error.cc.

References verror_with_id_cfn().

OCTINTERP_API void initialize_default_warning_state ( void  )
OCTINTERP_API void interpreter_try ( octave::unwind_protect )
OCTINTERP_API std::string last_error_id ( void  )
OCTINTERP_API std::string last_error_message ( void  )
OCTINTERP_API octave_map last_error_stack ( void  )
OCTINTERP_API std::string last_warning_id ( void  )
OCTINTERP_API std::string last_warning_message ( void  )
OCTINTERP_API void message ( const char *  name,
const char *  fmt,
  ... 
)
OCTINTERP_API void message_with_id ( const char *  id,
const char *  name,
const char *  fmt,
  ... 
)

Definition at line 446 of file error.cc.

References vmessage_with_id().

OCTAVE_NORETURN OCTINTERP_API void panic ( const char *  fmt,
  ... 
)

Definition at line 931 of file error.cc.

References verror().

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

OCTAVE_NORETURN OCTINTERP_API void parse_error ( const char *  fmt,
  ... 
)

Definition at line 818 of file error.cc.

References vparse_error().

Referenced by octave::parser::run(), and octave::push_parser::run().

OCTAVE_NORETURN OCTINTERP_API void parse_error_with_id ( const char *  id,
const char *  fmt,
  ... 
)

Definition at line 833 of file error.cc.

References vparse_error_with_id().

OCTINTERP_API void reset_error_handler ( void  )

Definition at line 124 of file error.cc.

Referenced by get_debug_input().

OCTINTERP_API octave_value_list set_warning_state ( const std::string id,
const std::string state 
)
OCTINTERP_API octave_value_list set_warning_state ( const octave_value_list args)
OCTAVE_NORETURN OCTINTERP_API void usage ( const char *  fmt,
  ... 
)

Definition at line 482 of file error.cc.

References usage_1().

OCTAVE_NORETURN OCTINTERP_API void usage_with_id ( const char *  id,
const char *  fmt,
  ... 
)

Definition at line 497 of file error.cc.

References vusage_with_id().

OCTAVE_NORETURN OCTINTERP_API void verror ( const char *  fmt,
va_list  args 
)

Definition at line 564 of file error.cc.

References error_1().

OCTAVE_NORETURN OCTINTERP_API void verror ( octave::execution_exception &  ,
const char *  fmt,
va_list  args 
)

Definition at line 579 of file error.cc.

References error_1().

OCTAVE_NORETURN OCTINTERP_API void verror_with_cfn ( const char *  fmt,
va_list  args 
)

Definition at line 594 of file error.cc.

References error_1().

Referenced by error_with_cfn(), and lo_error_handler().

OCTAVE_NORETURN OCTINTERP_API void verror_with_id ( const char *  id,
const char *  fmt,
va_list  args 
)

Definition at line 609 of file error.cc.

References error_1().

Referenced by error_with_id(), and mexErrMsgIdAndTxt().

OCTAVE_NORETURN OCTINTERP_API void verror_with_id_cfn ( const char *  id,
const char *  fmt,
va_list  args 
)

Definition at line 624 of file error.cc.

References error_1().

Referenced by error_with_id_cfn(), and lo_error_with_id_handler().

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

Definition at line 424 of file error.cc.

References verror().

Referenced by message().

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

Definition at line 439 of file error.cc.

References verror().

Referenced by message_with_id().

OCTAVE_NORETURN OCTINTERP_API void vparse_error ( const char *  fmt,
va_list  args 
)

Definition at line 812 of file error.cc.

References error_1().

Referenced by parse_error().

OCTAVE_NORETURN OCTINTERP_API void vparse_error_with_id ( const char *  id,
const char *  fmt,
va_list  args 
)

Definition at line 827 of file error.cc.

References error_1().

Referenced by parse_error_with_id().

OCTAVE_NORETURN OCTINTERP_API void vusage ( const char *  fmt,
va_list  args 
)

Definition at line 476 of file error.cc.

References usage_1().

OCTAVE_NORETURN OCTINTERP_API void vusage_with_id ( const char *  id,
const char *  fmt,
va_list  args 
)

Definition at line 491 of file error.cc.

References usage_1().

Referenced by usage_with_id().

OCTINTERP_API void vwarning ( const char *  fmt,
va_list  args 
)

Definition at line 782 of file error.cc.

References warning_1().

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

Definition at line 797 of file error.cc.

References warning_1().

Referenced by mexWarnMsgIdAndTxt(), and warning_with_id().

OCTINTERP_API void warning ( const char *  fmt,
  ... 
)

Definition at line 788 of file error.cc.

References vwarning().

Referenced by file_editor_tab::check_valid_codec(), files_dock_widget::contextmenu_delete(), convert_cdata(), 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(), octave::opengl_texture::create(), daspk_user_function(), daspk_user_jacobian(), dasrt_user_cf(), dasrt_user_f(), dasrt_user_j(), dassl_user_function(), dassl_user_jacobian(), load_path::do_add(), gh_manager::do_close_all_figures(), octave::ft_manager::do_get_font(), do_load(), do_minmax_body(), do_regexp_ptn_string_escapes(), do_regexp_rep_string_escapes(), 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_unary_class_op(), octave_value_typeinfo::do_register_unary_op(), octave_value_typeinfo::do_register_widening_op(), load_path::do_remove(), do_save(), do_who(), octave::opengl_renderer::draw(), octave::opengl_renderer::draw_axes(), octave::opengl_renderer::draw_image(), octave::opengl_renderer::draw_patch(), dump_octave_core(), eigs_func(), extract_function(), F__profiler_data__(), F__profiler_reset__(), Fbalance(), octave::base_lexer::flex_yyleng(), for(), mex::free(), mex::free_value(), octave::base_parser::frob_function(), Fschur(), Fspparms(), G__delaunayn__(), G__eigs__(), G__voronoi__(), Gaudiodevinfo(), Gconvhulln(), axes::properties::get_axis_limits(), octave::ft_text_renderer::ft_font::get_face(), get_fcn_files(), load_path::dir_info::get_file_list(), base_graphics_object::get_properties(), mex::global_mark(), mex::global_unmark(), Gqr(), gripe_empty_arg(), gripe_invalid_value_specified(), gripe_wrong_type_arg(), hdf5_read_next_data_internal(), if(), octave::opengl_renderer::init_gl_context(), load_path::dir_info::initialize(), initialize_error_handlers(), octave_class::load_ascii(), octave_class::load_binary(), octave_class::load_hdf5(), lsode_user_function(), lsode_user_jacobian(), octave::base_parser::make_decl_command(), octave::opengl_renderer::make_marker_list(), mex::mark(), mex::mark_foreign(), tree::meets_bp_condition(), mexWarnMsgTxt(), octave_oncleanup::octave_oncleanup(), parse_dbfunction_params(), parse_save_options(), quad_float_user_function(), quad_user_function(), read_file(), octave::textscan::read_format_once(), read_mat5_binary_element(), read_mat5_binary_file_header(), octave_class::reconstruct_exemplar(), octave_oncleanup::save_ascii(), octave_java::save_ascii(), octave_oncleanup::save_binary(), octave_java::save_binary(), 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_oncleanup::save_hdf5(), octave_java::save_hdf5(), 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(), octave::opengl_selector::select(), octave::ft_text_renderer::set_color(), set_DASPK_options(), set_DASRT_options(), set_DASSL_options(), set_LSODE_options(), set_Quad_options(), octave::base_parser::set_stmt_print_flag(), cdef_property::cdef_property_rep::set_value(), shortcut_manager::shortcut_dialog_finished(), show_DASPK_options(), show_DASRT_options(), show_DASSL_options(), show_LSODE_options(), show_Quad_options(), octave::gui_application::start_gui_p(), mex::unmark(), mex::unmark_foreign(), QtHandles::ButtonControl::update(), QtHandles::PopupMenuControl::update(), load_path::dir_info::update(), octave::ft_text_renderer::visit(), warn_dim_too_large(), warn_disabled_feature(), warn_empty_arg(), warn_invalid_value_specified(), event_queue_safe::warn_unhandled_exception(), warn_wrong_type_arg(), write_mat5_array(), xpow(), and octave_oncleanup::~octave_oncleanup().

OCTINTERP_API int warning_enabled ( const std::string id)
OCTINTERP_API void warning_with_id ( const char *  id,
const char *  fmt,
  ... 
)

Definition at line 803 of file error.cc.

References vwarning_with_id().

Referenced by load_path::loader::add_to_fcn_map(), check_hdf5_types(), clear(), load_path::do_add(), do_clear_function(), load_path::do_set(), radio_property::do_set(), color_property::do_set(), double_radio_property::do_set(), octave::opengl_renderer::draw_all_lights(), octave::base_parser::frob_function(), patch::properties::get_normalmode(), surface::properties::get_normalmode(), gripe_data_file_in_path(), gripe_divide_by_zero(), gripe_implicit_conversion(), gripe_logical_conversion(), gripe_warn_complex_cmp(), if(), octave_range::index_vector(), initialize_error_handlers(), tree_parameter_list::initialize_undefined_elements(), cdef_object::map_value(), tree_binary_expression::matlab_style_short_circuit_warning(), maybe_initialize_magick(), octave::base_parser::maybe_warn_assign_as_truth_value(), maybe_warn_invalid_field_name(), octave::base_parser::maybe_warn_missing_semi(), maybe_warn_string_concat(), octave::base_parser::maybe_warn_variable_switch_label(), normalize_fopen_mode(), octave_lex(), octave::textscan_format_list::parse_char_class(), patch::properties::set_normalmode(), surface::properties::set_normalmode(), sqrtm_utri_inplace(), axes::properties::update_xaxislocation(), axes::properties::update_yaxislocation(), validate_property_name(), warn_array_as_logical(), warn_complex_cmp(), warn_data_file_in_path(), warn_divide_by_zero(), warn_glyph_render(), warn_implicit_conversion(), octave::base_lexer::warn_language_extension_continuation(), octave_base_value::warn_load(), warn_logical_conversion(), warn_missing_glyph(), and octave_base_value::warn_save().

Variable Documentation

OCTINTERP_API int buffer_error_messages
OCTINTERP_API bool discard_error_messages
OCTINTERP_API bool discard_warning_messages
OCTINTERP_API int error_state

Definition at line 106 of file error.cc.

Referenced by jit_typeinfo::jit_typeinfo().

OCTINTERP_API int in_try_catch

Definition at line 115 of file error.cc.

Referenced by octave::tree_evaluator::visit_try_catch_command().

OCTINTERP_API bool Vdebug_on_caught
OCTINTERP_API bool Vdebug_on_error
OCTINTERP_API bool Vdebug_on_warning
OCTINTERP_API int warning_state