SST/macro
|
Go to the source code of this file.
Classes | |
struct | sprockit::spkt_error |
General errors, or base class for more specific errors. More... | |
struct | sprockit::null_error |
Error indicating something was null and shouldn't have been. More... | |
struct | sprockit::value_error |
Error indicating some internal value was unexpected. More... | |
struct | sprockit::library_error |
A general error somewhere from a library. More... | |
struct | sprockit::time_error |
An error indicating something to do with the advancement of simulation time. More... | |
struct | sprockit::io_error |
File open, read, or write error. More... | |
struct | sprockit::illformed_error |
An error indicating some format was not correct. More... | |
struct | sprockit::os_error |
An error having to do with an operating system. More... | |
struct | sprockit::memory_error |
Something happened when allocating, deallocating, or mapping a memory region. More... | |
struct | sprockit::iterator_error |
Something happened when iterating over a collection. More... | |
struct | sprockit::unimplemented_error |
A function was intentionally unimplemented because it doesn't make sense, or it is ongoing work. More... | |
struct | sprockit::not_ported_error |
Exception indicating that chosen path is not yet ported to new framework. More... | |
struct | sprockit::invalid_key_error |
Key to a map was not in the map. More... | |
struct | sprockit::range_error |
An index was out of range in a collection. More... | |
struct | sprockit::input_error |
Invalid user input. More... | |
Namespaces | |
sprockit | |
Macros | |
#define | SPROCKIT_ASSERT(condition) |
#define | spkt_throw_printf(exc, template_str, ...) throw exc(::sprockit::printf(#exc ": " template_str "\n%s %d", ##__VA_ARGS__, __FILE__, __LINE__)) |
#define | spkt_abort_printf(template_str, ...) |
#define | spkt_throw(exc, ...) |
#define spkt_abort_printf | ( | template_str, | |
... | |||
) |
#define spkt_throw | ( | exc, | |
... | |||
) |
Definition at line 44 of file errors.h.
Referenced by sstmac::sw::funcptr::call(), sstmac::hw::dist_dummy_switch::connected_switches(), sstmac::event_loc_id::convert_to_node_id(), sstmac::event_loc_id::convert_to_switch_id(), sstmac::hw::fake_topology::diameter(), sstmac::integrated_connectable_wrapper::handle(), sstmac::optional_stats(), and sstmac::sw::thread::register_perf_ctr_variable().
#define spkt_throw_printf | ( | exc, | |
template_str, | |||
... | |||
) | throw exc(::sprockit::printf(#exc ": " template_str "\n%s %d", ##__VA_ARGS__, __FILE__, __LINE__)) |
Definition at line 37 of file errors.h.
Referenced by sprockit::__safe_cast__(), sprockit::__safe_ptr_cast__(), sprockit::Factory< T, Args >::_get_value(), sstmac::vector1_payload< Type, VectorType >::bitwise_and(), sstmac::vector1_payload< Type, VectorType >::bitwise_or(), sstmac::vector1_payload< Type, VectorType >::bitwise_xor(), sstmac::sw::sstmac_global_builtin_arr< T *, N >::check_init(), sstmac::hw::tiled_dragonfly::check_port_x(), sstmac::hw::tiled_dragonfly::check_port_y(), sstmac::hw::tiled_dragonfly::check_switch_g(), sstmac::hw::tiled_dragonfly::check_switch_x(), sstmac::hw::tiled_dragonfly::check_switch_y(), sstmac::sw::thread::get_api(), sstmac::sw::sstmac_global_builtin_arr< T *, N >::get_val(), sstmac::sw::sstmac_global_builtin_arr< T, N >::get_val(), sstmac::pair_payload< T1, T2 >::logical_and(), sstmac::pairpayloadvector< T1, T2 >::logical_and(), sstmac::pair_payload< T1, T2 >::logical_or(), sstmac::pairpayloadvector< T1, T2 >::logical_or(), sstmac::pair_payload< T1, T2 >::logical_xor(), sstmac::pairpayloadvector< T1, T2 >::logical_xor(), sstmac::partition::lpid_for_switch(), sprockit::mapget(), sstmac::pairpayloadvector< T1, T2 >::max(), sstmac::pairpayloadvector< T1, T2 >::min(), sstmac::hw::structured_routable::path_set::resize(), sstmac::pair_payload< T1, T2 >::serialize_order(), sstmac::vector1_payload< Type, VectorType >::serialize_order(), sstmac::pairpayloadvector< T1, T2 >::serialize_order(), sstmac::sw::sstmac_global_builtin< T >::sstmac_global_builtin(), sstmac::sw::sstmac_global_builtin_arr< T, N >::sstmac_global_builtin_arr(), sstmac::partition::subset(), and sprockit::modal_mixin::ModalMixinBase::throw_method_called_in_wrong_mode().