Hi gueys,
I am programming a class compenent liberary in C++ CLR, but I have a problem with exception throwing.
this is the code that call the exception:
throw gcnew ReadStreamException(Error);
and this is the exception class:
public ref class ReadStreamException : Exception
{
ReadStreamException(String^ Message) : Exception(Message) {}
};
but when I compile it the compiler give this error:Error 3 error C2061: syntax error : identifier 'ReadStreamException'
Please tell me what the wrong did I have????
thanx