Extending product function with VBA : System Architect errors : System Architect errors
  
System Architect errors
System Architect has a number of errors that can be identified. Microsoft VBA can follow these errors when found in a macro and pass a message to the Microsoft VBA error handler, which then presents the error to the user. The different errors catch different problems. When a method is executed, it returns a value to Microsoft VBA indicating the status of the call; if an exception occurs, then Microsoft VBA reports the error. The enumerated type SA2001Errors contains a complete list of all System Architect Errors.
Error
Number
Description
SAERR_BADDDID
8195
 
SAERR_DIAGRAMNOTOPEN
8198
Diagram is not open. Either the diagram was never open or the .Hide method was previously invoked.
SAERR_DIAGRAMNOTSAME
8201
 
SAERR_DIAGRAMOPENevent
8199
Diagram is already open. Either the diagram has been previously opened or the .Show method was previously invoked.
SAERR_ENUMVARIANTERROR
8193
 
SAERR_INVALIDCLASS
8202
 
SAERR_INVALIDOBJECT
8194
 
SAERR_INVALIDPROPERTY
8204
 
SAERR_INVALIDTYPE
8207
 
SAERR_NOTIMPLEMENTED
8196
 
SAERR_OBJECTDOESNOTEXIST
8197
Either the object was never instantiated or was previously deleted.
SAERR_OBJECTISLOCKED
8205
Either the OpenLock method was previously invoked or the object was previously checked out or frozen by another user.
SAERR_OBJECTNOTFOUND
1025
 
SAERR_OPENEDASREADONLY
8206
The object has been opened as Read-only.
SAERR_REQUIREDPROPERTYABSENT
8192
The referenced property is either blank or does not exist.
SAERR_SA20001_IMF_ERROR
4096
An SAIMF error has occurred.
SAERR_SANOTRUNNING
1024
System Architect has either never been started up or was previously shutdown.
SAERR_SYMBOLHASNODIAGRAM
8200
The symbol is not referenced by any diagram.
SAERR_TOOMANYOBJECTS
8203
 
See also
System Architect errors