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