C++
virtual Acad::ErrorStatus setError( Acad::ErrorStatus es, const ACHAR* errMsg, ... );
Description
The implementation of this function should follow that of the ObjectARX internal filers:
- If the filer's internal ErrorStatus is not either Acad::eOk or Acad::eEndOfFile, then immediately return the filer's internal ErrorStatus.
- Otherwise, set the filer's error message string to a copy of errMsg and the filer's internal ErrorStatus to es.
- Return es.
The default implementation of this method terminates AutoCAD.
Parameters
Parameters | Description |
---|---|
unnamed1 | Input Acad::ErrorStatus error code |
unnamed2 | Input error message string |
unnamed3 | Input arguments to replace any formatting codes in the error message text |