26 #if ! defined (octave_lo_array_errwarn_h)
27 #define octave_lo_array_errwarn_h 1
29 #include "octave-config.h"
52 : m_index (index), m_nd (nd), m_dim (dim), m_var (var)
54 set_message (expression ());
62 virtual const char *
err_id ()
const = 0;
88 void set_var (
const std::string& var_arg =
"")
148 const std::string& var =
"");
153 const std::string& var =
"");
158 const std::string& var =
"");
166 OCTAVE_END_NAMESPACE(
octave)
Vector representing the dimensions (size) of an Array.
void set_pos(octave_idx_type nd_arg, octave_idx_type dim_arg)
~index_exception()=default
void set_pos_if_unset(octave_idx_type nd_arg, octave_idx_type dim_arg)
virtual const char * err_id() const =0
void set_var(const std::string &var_arg="")
virtual index_exception * dup()=0
index_exception(const std::string &index, octave_idx_type nd=0, octave_idx_type dim=-1, const char *var="")
virtual void update_message()
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
OCTAVE_NORETURN void err_del_index_out_of_range(bool is1d, octave_idx_type iext, octave_idx_type ext)
OCTAVE_NORETURN void err_nan_to_logical_conversion()
void warn_singular_matrix(double rcond=0.0)
OCTAVE_NORETURN void err_index_out_of_range(int ndims, int dim, octave_idx_type idx, octave_idx_type ext, const dim_vector &dv)
OCTAVE_NORETURN void err_invalid_resize()
OCTAVE_NORETURN void err_nonconformant(const char *op, octave_idx_type op1_len, octave_idx_type op2_len)
OCTAVE_NORETURN void err_nan_to_character_conversion()
OCTAVE_NORETURN void err_invalid_index(double n, octave_idx_type nd=0, octave_idx_type dim=0, const std::string &var="")