Hello, can someone help me out this problem.
Let say I have the following try block:
try{
stringHandleFunction()
}catch(exceptionHandle& e)
{}
void stringHandleFunction(){
// here doing some string business,
// but somehow it will crash because of a null string
//
// how can I do a throw here, so the try block can catch it.
// Thanks in advance
}
Let say I have the following try block:
try{
stringHandleFunction()
}catch(exceptionHandle& e)
{}
void stringHandleFunction(){
// here doing some string business,
// but somehow it will crash because of a null string
//
// how can I do a throw here, so the try block can catch it.
// Thanks in advance
}