datatypes::exceptions::ExceptionUtilities¶
#include <exception_utilities.h>
Public Functions¶
Name | |
---|---|
void | ThrowInvalidArgument(const string & msg ="Invalid argument") |
void | ThrowInvalidOperation(const string & msg ="Invalid operation") |
void | ThrowInvalidArgumentModelVariableId(const string & variableId) |
void | ThrowNotImplemented(const string & msg ="Not implemented") |
void | ThrowNotSupported(const string & typeName, const string & methodName) |
void | ThrowNotSupported(const string & msg) |
void | ThrowOutOfRange(const string & msg ="Operation led to a state out of range") |
template <typename T > void |
CheckInRange(T value, T min, T max, const string & variableName) |
void | CheckFileExists(const boost::filesystem::path & p) |
void | CheckFileDoesNotExist(const boost::filesystem::path & p) |
void | CheckExists(const boost::filesystem::path & p) |
Public Functions Documentation¶
function ThrowInvalidArgument¶
function ThrowInvalidOperation¶
function ThrowInvalidArgumentModelVariableId¶
function ThrowNotImplemented¶
function ThrowNotSupported¶
function ThrowNotSupported¶
function ThrowOutOfRange¶
function CheckInRange¶
template <typename T >
static inline void CheckInRange(
T value,
T min,
T max,
const string & variableName
)
function CheckFileExists¶
function CheckFileDoesNotExist¶
function CheckExists¶
Updated on 2022-08-21 at 18:10:33 +1000