SRThrowGraphException
voidSRThrowGraphException(intcause)THROWS an exception of type SRGraphException
Defined in: SRGExc.cpp
Parameters
cause
Integer specifying the cause of the exception
Developer Notes
Although other methods are available, it is recommended that you use this global function to throw SRGraph exceptions. Furthermore you are advised to use the TRY and CATCH macros to initiate and trap your exceptions because these macros also handle the memory management of objects based on CException. Relying on the C++ try and catch keywords, instead of the macros, will make your software responsible for such internal management functions.