Go to the source code of this file.
Classes | |
struct | COM_exception |
Encapsulates the states of an exception. More... | |
Macros | |
#define | append_frame(s, frame) append_frame_info( s, #frame, __FILE__, __LINE__) |
Macro for appending the information about the given frame to the string s. More... | |
#define | CATCHEXP_APPEND(frame) |
Macro for catching an exception and append the information to the current frame. More... | |
#define | CATCHBADALLOC_APPEND(frame) |
Macro for catching an deallocation exception and append the information to the current frame. More... | |
#define | CATCHREST_APPEND(frame) |
Macro for catching an unknown exception and append the information to the current frame. More... | |
Functions | |
std::ostream & | operator<< (std::ostream &os, const COM_exception &ex) |
Print out a given exception. More... | |
std::string | append_frame_info (const std::string &s, const char *frame, const char *file, int line) |
Append the information about the given frame to the string s. More... | |
#define append_frame | ( | s, | |
frame | |||
) | append_frame_info( s, #frame, __FILE__, __LINE__) |
Macro for appending the information about the given frame to the string s.
Definition at line 81 of file roccom_exception.h.
Referenced by Window::alloc_array(), Attribute::allocate(), Roccom_base::allocate_array(), Window::append_array(), Roccom_base::append_array(), Attribute::append_array(), Attribute::Attribute(), Window::attribute(), Roccom_base::call_function(), Roccom_base::clone_attribute(), Pane::connectivity(), Roccom_base::copy_array(), Window::copy_array(), Attribute::copy_array(), copy_array_common(), Roccom_base::copy_attribute(), Window::dealloc_array(), Roccom_base::deallocate_array(), Roccom_base::delete_attribute(), Window::delete_attribute(), Roccom_base::delete_pane(), Roccom_base::delete_window(), Attribute::get_addr(), Connectivity::get_addr(), Roccom_base::get_array(), Window::get_array(), get_array_common(), Roccom_base::get_attribute(), Window::get_attribute(), Roccom_base::get_attribute_handle(), Roccom_base::get_attribute_handle_const(), Roccom_base::get_attributes(), Roccom_base::get_communicator(), Roccom_base::get_connectivities(), Roccom_base::get_f90pointer(), Roccom_base::get_function(), Roccom_base::get_function_handle(), Roccom_base::get_modules(), Roccom_base::get_num_arguments(), Roccom_base::get_panes(), Window::get_parent(), Roccom_base::get_parent(), Roccom_base::get_size(), Window::get_size(), get_size_common(), Window::get_status(), Roccom_base::get_status(), Roccom_base::get_window(), Roccom_base::get_window_handle(), Roccom_base::get_window_object(), Roccom_base::get_windows(), Window::inherit(), Pane::inherit(), Pane::init_done(), Window::init_done(), Roccom_base::new_attribute(), Window::new_attribute(), Pane::new_attribute(), Roccom_base::new_window(), Window::pane(), Pane::refresh_connectivity(), Pane::reinit_attr(), Pane::reinit_conn(), Window::resize_array(), Roccom_base::resize_array(), Roccom_base::set_array(), Window::set_array(), Roccom_base::set_f90pointer(), Window::set_function(), Roccom_base::set_function(), Roccom_base::set_member_function_helper(), Attribute::set_pointer(), Roccom_base::set_profiling_barrier(), Roccom_base::set_size(), Window::set_size(), Connectivity::set_size(), Attribute::set_size(), Pane::set_size(), Roccom_base::split_name(), Roccom_base::use_attribute(), and Roccom_base::window_init_done().
#define CATCHBADALLOC_APPEND | ( | frame | ) |
Macro for catching an deallocation exception and append the information to the current frame.
Definition at line 92 of file roccom_exception.h.
Referenced by Attribute::allocate(), Attribute::inherit(), and Pane::inherit().
#define CATCHEXP_APPEND | ( | frame | ) |
Macro for catching an exception and append the information to the current frame.
Definition at line 86 of file roccom_exception.h.
Referenced by Attribute::allocate(), Attribute::deallocate(), Attribute::inherit(), and Pane::inherit().
#define CATCHREST_APPEND | ( | frame | ) |
Macro for catching an unknown exception and append the information to the current frame.
Definition at line 98 of file roccom_exception.h.
enum Error_code |
Error codes.
Definition at line 34 of file roccom_exception.h.
std::string append_frame_info | ( | const std::string & | s, |
const char * | frame, | ||
const char * | file, | ||
int | line | ||
) |
Append the information about the given frame to the string s.
Definition at line 190 of file roccom_exception.C.
std::ostream& operator<< | ( | std::ostream & | os, |
const COM_exception & | ex | ||
) |
Print out a given exception.
Definition at line 56 of file roccom_exception.C.
References COM_ERR_ALLOC_STRUCTURED, COM_ERR_APPEND_ARRAY, COM_ERR_ATTRIBUTE_ALLOCATED, COM_ERR_ATTRIBUTE_CONST, COM_ERR_ATTRIBUTE_INITIALIZED, COM_ERR_ATTRIBUTE_NOT_ALLOCATED, COM_ERR_ATTRIBUTE_NOTEXIST, COM_ERR_CHANGE_INHERITED, COM_ERR_COULD_FINDSYM, COM_ERR_COULD_OPENLIB, COM_ERR_F90FUNC, COM_ERR_FUNCTION_NOTEXIST, COM_ERR_GHOST_ELEMS, COM_ERR_GHOST_LAYERS, COM_ERR_GHOST_NODES, COM_ERR_IMMUTABLE, COM_ERR_INCOMPATIBLE_ATTRS, COM_ERR_INCOMPATIBLE_TYPES, COM_ERR_INDEX_OUT_OF_BOUNDS, COM_ERR_INHERIT_MESH_LATE, COM_ERR_INHERIT_ST_NG, COM_ERR_INIT_DONE_PANEMAP, COM_ERR_INVALID_ADDR, COM_ERR_INVALID_ATTRIBUTE_HANDLE, COM_ERR_INVALID_ATTRIBUTE_NAME, COM_ERR_INVALID_CAPACITY, COM_ERR_INVALID_DIMENSION, COM_ERR_INVALID_FUNCTION_HANDLE, COM_ERR_INVALID_SIZE, COM_ERR_INVALID_STRIDE, COM_ERR_INVALID_WINDOW_HANDLE, COM_ERR_MIXED_GHOST, COM_ERR_MODULE_NOTLOADED, COM_ERR_NOT_A_POINTER, COM_ERR_NOT_A_WINDOW_ATTRIBUTE, COM_ERR_NULL_POINTER, COM_ERR_OUT_OF_MEMORY, COM_ERR_PANE_NOTEXIST, COM_ERR_PARENT_SMALLER, COM_ERR_RESIZE, COM_ERR_TOO_FEW_ARGS, COM_ERR_TOO_MANY_ARGS, COM_ERR_UNKNOWN_DATATYPE, COM_ERR_UNKNOWN_INTENT, COM_ERR_UNKNOWN_KEYWORD, COM_ERR_WAS_INITIALIZED, COM_ERR_WASNOT_INITIALIZED, COM_ERR_WINDOW_NOTEXIST, COM_UNKNOWN_ERROR, COM_WARN_DUP_ATTRIBUTE, COM_WARN_DUP_FUNC, COM_WARN_DUP_FUNCTION, COM_WARN_DUP_WINDOW, COM_WARN_EMPTY_MESH, COM_WARN_MODULE_LOADED, COM_exception::ierr, and COM_exception::msg.