|
Defines |
#define | CP_ThrowErr(inStatus) CP_ThrowErr_( inStatus, __FUNCTION__, __LINE__, __FILE__ ) |
#define | CP_ThrowIfNULL(inStatus) CP_ThrowIfNULL_( inStatus, __FUNCTION__, __LINE__, __FILE__ ) |
#define | CP_ThrowIfResFail(inStatus) CP_ThrowIfResFail_( inStatus, __FUNCTION__, __LINE__, __FILE__ ) |
#define | CP_ThrowRuntime(inMsg) CP_ThrowRuntime_( inMsg, __FUNCTION__, __LINE__, __FILE__ ) |
#define | CP_ThrowOutOfRange(inMsg) CP_ThrowOutOfRange_( inMsg, __FUNCTION__, __LINE__, __FILE__ ) |
#define | CP_ThrowOverflow(inMsg) CP_ThrowOverflow_( inMsg, __FUNCTION__, __LINE__, __FILE__ ) |
#define | CP_ThrowUnderflow(inMsg) CP_ThrowUnderflow_( inMsg, __FUNCTION__, __LINE__, __FILE__ ) |
#define | CP_ThrowInvalidArgument(inMsg) CP_ThrowInvalidArgument_( inMsg, __FUNCTION__, __LINE__, __FILE__ ) |
#define | CP_ThrowLength(inMsg) CP_ThrowLength_( inMsg, __FUNCTION__, __LINE__, __FILE__ ) |
#define | CP_ThrowIfOSErr(inStatus) CP_ThrowIfOSErr_( inStatus, __FUNCTION__, __LINE__, __FILE__ ) |
#define | CP_ThrowBadCast(inMsg) CP_ThrowBadCast_( inMsg, __FUNCTION__, __LINE__, __FILE__ ) |
#define | CP_ThrowBounds(inMsg) CP_ThrowBounds_( inMsg, __FUNCTION__, __LINE__, __FILE__ ) |
#define | CP_ThrowNotFound(inMsg) CP_ThrowNotFound_( inMsg, __FUNCTION__, __LINE__, __FILE__ ) |
#define | CP_ThrowIfMemFail(inStatus) CP_ThrowIfMemFail_( inStatus, __FUNCTION__, __LINE__, __FILE__ ) |
#define | CP_ThrowIfResErr(inStatus) CP_ThrowIfResErr_( inStatus, __FUNCTION__, __LINE__, __FILE__ ) |
#define | CP_ThrowIfMemErr(inStatus) CP_ThrowIfMemErr_( inStatus, __FUNCTION__, __LINE__, __FILE__ ) |
#define | CP_ThrowIfCFFail(inStatus) CP_ThrowIfCFFail_( inStatus, __FUNCTION__, __LINE__, __FILE__ ) |
#define | CP_ThrowIfQDErr(inStatus) CP_ThrowIfQDErr_( inStatus, __FUNCTION__, __LINE__, __FILE__ ) |
#define | CP_ThrowIfMemErr(inHandle) CP_ThrowIfInvalidHandle_( inHandle, __FUNCTION__, __LINE__, __FILE__ ) |
#define | CP_ThrowIf(inFlag) CP_ThrowIf_( inFlag, __FUNCTION__, __LINE__, __FILE__ ) |
#define | CP_ThrowIfFailed(inHandle) CP_ThrowIfFailed_( inHandle, __FUNCTION__, __LINE__, __FILE__ ) |
#define | CP_ThrowIf(inFlag) CP_ThrowIf_( inFlag, __FUNCTION__, __LINE__, __FILE__ ) |
Functions |
CP_EXPORT void | CP_ThrowErr_ (OSStatus inStatus, const char *inFunction, int inLine, const char *inFile) |
CP_EXPORT void | CP_ThrowIfNULL_ (const void *inPtr, const char *inFunction, int inLine, const char *inFile) |
CP_EXPORT void | CP_ThrowIfResFail_ (const void *inPtr, const char *inFunction, int inLine, const char *inFile) |
CP_EXPORT void | CP_ThrowRuntime_ (const CP_String &inMessage, const char *inFunction, int inLine, const char *inFile) |
CP_EXPORT void | CP_ThrowOutOfRange_ (const CP_String &inMessage, const char *inFunction, int inLine, const char *inFile) |
CP_EXPORT void | CP_ThrowOverflow_ (const CP_String &inMessage, const char *inFunction, int inLine, const char *inFile) |
CP_EXPORT void | CP_ThrowUnderflow_ (const CP_String &inMessage, const char *inFunction, int inLine, const char *inFile) |
CP_EXPORT void | CP_ThrowInvalidArgument_ (const CP_String &inMessage, const char *inFunction, int inLine, const char *inFile) |
CP_EXPORT void | CP_ThrowLength_ (const CP_String &inMessage, const char *inFunction, int inLine, const char *inFile) |
CP_EXPORT void | CP_ThrowBadCast_ (const CP_String &inMessage, const char *inFunction, int inLine, const char *inFile) |
CP_EXPORT void | CP_ThrowBounds_ (const CP_String &inMessage, const char *inFunction, int inLine, const char *inFile) |
CP_EXPORT void | CP_ThrowNotFound_ (const CP_String &inMessage, const char *inFunction, int inLine, const char *inFile) |
void | CP_ThrowIfOSErr_ (OSStatus inStatus, const char *inFunction, int inLine, const char *inFile) |
CP_EXPORT void | CP_ThrowIfMemFail_ (const void *inPtr, const char *inFunction, int inLine, const char *inFile) |
void | CP_ThrowIfResErr_ (const char *inFunction, int inLine, const char *inFile) |
void | CP_ThrowIfMemErr_ (const char *inFunction, int inLine, const char *inFile) |
CP_EXPORT void | CP_ThrowIfCFFail_ (const void *inPtr, const char *inFunction, int inLine, const char *inFile) |
void | CP_ThrowIfErr_ (OSStatus inError, const char *inFunction, int inLine, const char *inFile) |
void | CP_ThrowIfErr_ (const char *inFunction, int inLine, const char *inFile) |
void | CP_ThrowIfInvalidHandle_ (HANDLE inHandle, const char *inFunction, int inLine, const char *inFile) |
void | CP_ThrowIf_ (bool inFlag, const char *inFunction, int inLine, const char *inFile) |
void | CP_ThrowIfFailed_ (HRESULT inResult, const char *inFunction, int inLine, const char *inFile) |
template<class Exception> |
void | Throw () |
template<class ErrorClass> |
ErrorCodeThrower< ErrorClass > & | CP_ErrorCodeThrower () |
template<class ErrorClass, typename ErrorClassTraits< ErrorClass >::ErrorNumber number> |
void | CP_RegisterErrorCode () |
template<class ErrorClass> |
void | CP_ThrowErrorCode (ErrorClass error) |
template<SInt32 error> |
void | CP_RegisterOSStatus () |
void | CP_ThrowOSStatus (OSStatus) |