Share

AcDbDxfFiler::setError

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 errMsg string may contain formatting codes as would be used in acutPrintf(). The values to be used in place of the formatting codes are passed in as arguments following errMsg.

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

Links

AcDbDxfFiler

Was this information helpful?