C++
virtual Acad::ErrorStatus setError( 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 Acad::eBadDxfSequence.
- Return Acad::eBadDxfSequence.
The default implementation of this method is to terminate AutoCAD.
Parameters
Parameters | Description |
---|---|
unnamed1 | Input error message string |
unnamed2 | Input arguments to replace any formatting codes in the error message text |