CreateError is the constructor for the exception. CreateError calls the inherited CreateError method using the anErrCode and asReplyMessage parameters. CreateError also assigns the value in asErrorMessage to the ErrorMessage property prior to raising the exception.